Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001626, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 195.2 kB / 16.14 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.349/2.349, allocations: 461.8 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 68.55 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2119, allocations: 157.4 MB / 1.052 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003147/0.2151, allocations: 2.374 MB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2161, allocations: 0.7754 MB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.05e-05/0.2162, allocations: 4 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004624/0.2167, allocations: 143.5 kB / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.2169, allocations: 51.73 kB / 1.055 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.217, allocations: 47.89 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000179/0.2172, allocations: 191.4 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.2174, allocations: 69.34 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2175, allocations: 63.7 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2176, allocations: 63.75 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2177, allocations: 12 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.2178, allocations: 67.86 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.2178, allocations: 39.84 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.2179, allocations: 55.73 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.2181, allocations: 171.3 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2181, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.52e-07/0.2181, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2181, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005721/0.2187, allocations: 490.6 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2187, allocations: 15.97 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.2188, allocations: 46.73 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.219, allocations: 24.75 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.2192, allocations: 217.3 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.2192, allocations: 38.44 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.2192, allocations: 15.94 kB / 1.057 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.2195, allocations: 145 kB / 1.057 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2195, allocations: 4 kB / 1.057 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.2195, allocations: 8 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.2196, allocations: 7.938 kB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.2197, allocations: 87.88 kB / 1.057 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007024/0.2204, allocations: 0.6402 MB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.2207, allocations: 54.5 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.2207, allocations: 28.91 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2208, allocations: 0 / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/0.2209, allocations: 150.9 kB / 1.058 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.976e-06/0.2209, allocations: 3.984 kB / 1.058 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003195/0.2213, allocations: 167.1 kB / 1.058 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.2213, allocations: 140.5 kB / 1.058 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.2215, allocations: 178.9 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2215, allocations: 25.7 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.2216, allocations: 143.8 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2216, allocations: 19.72 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.2216, allocations: 37.7 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.2217, allocations: 326.8 kB / 1.059 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.2218, allocations: 39.97 kB / 1.059 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.2219, allocations: 113.3 kB / 1.059 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.2222, allocations: 226.3 kB / 1.059 GB, free: 412 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2222, allocations: 0 / 1.059 GB, free: 412 kB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000313/0.2225, allocations: 252.6 kB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.2225, allocations: 63.34 kB / 1.06 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2225, allocations: 3.984 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2226, allocations: 4 kB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.2227, allocations: 31.98 kB / 1.06 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2227, allocations: 7.938 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.2228, allocations: 24.25 kB / 1.06 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.2229, allocations: 19.86 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.223, allocations: 159.5 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.223, allocations: 23.73 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.223, allocations: 13.41 kB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.223, allocations: 0 / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.223, allocations: 0 / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.223, allocations: 3.938 kB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.2232, allocations: 213.6 kB / 1.06 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2232, allocations: 4 kB / 1.06 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.716e-05/0.2233, allocations: 11.98 kB / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2233, allocations: 3.938 kB / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2233, allocations: 0 / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2233, allocations: 4 kB / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2233, allocations: 0 / 1.06 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/0.2237, allocations: 210.6 kB / 1.06 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.2237, allocations: 93.11 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.2237, allocations: 3.938 kB / 1.061 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.2238, allocations: 11.98 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.2239, allocations: 11.98 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.2239, allocations: 4 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.411e-05/0.224, allocations: 127.2 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.224, allocations: 3.938 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002246/0.2242, allocations: 28 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000515/0.2247, allocations: 0.7623 MB / 1.061 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.225, allocations: 215.3 kB / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.225, allocations: 0 / 1.062 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.2251, allocations: 111.4 kB / 1.062 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.2253, allocations: 13.38 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.2271, allocations: 1.991 MB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.2273, allocations: 0.72 MB / 1.064 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.236e-05/0.2274, allocations: 16.62 kB / 1.064 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.2275, allocations: 39.42 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of SimCode: time 1.824e-06/0.2275, allocations: 3.938 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4859/0.7134, allocations: 2.82 MB / 1.067 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.7137, allocations: 209.6 kB / 1.067 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.356, allocations: 0 / 1.067 GB, free: 7.883 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches