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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 109.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.067/3.067, allocations: 497.2 MB / 0.7811 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 66.69 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3509, allocations: 173.9 MB / 1.304 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003901/0.3548, allocations: 2.327 MB / 1.306 GB, free: 15.22 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3561, allocations: 0.7986 MB / 1.307 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3562, allocations: 7.938 kB / 1.307 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.3568, allocations: 147.3 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.3569, allocations: 59.67 kB / 1.307 GB, free: 14.21 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.3571, allocations: 67.8 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.3573, allocations: 155.5 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.3576, allocations: 77.28 kB / 1.307 GB, free: 13.91 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3577, allocations: 67.77 kB / 1.308 GB, free: 13.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3578, allocations: 71.67 kB / 1.308 GB, free: 13.77 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.3579, allocations: 12 kB / 1.308 GB, free: 13.76 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.358, allocations: 55.89 kB / 1.308 GB, free: 13.71 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.358, allocations: 35.91 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.291e-05/0.3581, allocations: 71.59 kB / 1.308 GB, free: 13.6 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.3584, allocations: 171.3 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3584, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3584, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.3584, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 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.0007541/0.3592, allocations: 498.3 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3592, allocations: 8.922 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.3593, allocations: 42.73 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.3595, allocations: 32.83 kB / 1.308 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.3597, allocations: 217.5 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.3598, allocations: 34.45 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.3598, allocations: 19.89 kB / 1.309 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.3601, allocations: 148.1 kB / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3601, allocations: 0 / 1.309 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.3601, allocations: 8 kB / 1.309 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.3602, allocations: 7.938 kB / 1.309 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.3604, allocations: 79.95 kB / 1.309 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008882/0.3613, allocations: 0.6403 MB / 1.31 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.3615, allocations: 66.42 kB / 1.31 GB, free: 11.46 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.819e-05/0.3616, allocations: 20.92 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.3616, allocations: 3.984 kB / 1.31 GB, free: 11.43 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.3618, allocations: 139 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3618, allocations: 4 kB / 1.31 GB, free: 11.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0003797/0.3622, allocations: 167.1 kB / 1.31 GB, free: 11.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.3623, allocations: 136.5 kB / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.3624, allocations: 182.3 kB / 1.31 GB, free: 10.74 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3625, allocations: 29.69 kB / 1.31 GB, free: 10.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3626, allocations: 144 kB / 1.31 GB, free: 10.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.3626, allocations: 27.78 kB / 1.31 GB, free: 10.53 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.3626, allocations: 29.72 kB / 1.311 GB, free: 10.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3628, allocations: 334.8 kB / 1.311 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/0.3629, allocations: 39.98 kB / 1.311 GB, free: 10.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.363, allocations: 105.4 kB / 1.311 GB, free: 9.98 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.3633, allocations: 230.3 kB / 1.311 GB, free: 9.703 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3633, allocations: 0 / 1.311 GB, free: 9.703 MB / 1.014 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003676/0.3637, allocations: 249 kB / 1.311 GB, free: 9.441 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.3637, allocations: 68.89 kB / 1.311 GB, free: 9.363 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.3637, allocations: 4 kB / 1.311 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3637, allocations: 0 / 1.311 GB, free: 9.359 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3639, allocations: 35.92 kB / 1.312 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3639, allocations: 4 kB / 1.312 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.364, allocations: 23.88 kB / 1.312 GB, free: 9.297 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.364, allocations: 8 kB / 1.312 GB, free: 9.289 MB / 1.014 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.0001561/0.3642, allocations: 169.2 kB / 1.312 GB, free: 9.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.3642, allocations: 19.84 kB / 1.312 GB, free: 9.09 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.3642, allocations: 25.27 kB / 1.312 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3642, allocations: 0 / 1.312 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3643, allocations: 4 kB / 1.312 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3643, allocations: 0 / 1.312 GB, free: 9.055 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.3644, allocations: 213.6 kB / 1.312 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3645, allocations: 0 / 1.312 GB, free: 8.797 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.3645, allocations: 8 kB / 1.312 GB, free: 8.789 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3645, allocations: 3.938 kB / 1.312 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.3645, allocations: 12 kB / 1.312 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3645, allocations: 320 / 1.312 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3645, allocations: 0 / 1.312 GB, free: 8.773 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.3649, allocations: 214.7 kB / 1.312 GB, free: 8.539 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.365, allocations: 96.97 kB / 1.312 GB, free: 8.426 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.365, allocations: 7.938 kB / 1.312 GB, free: 8.418 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.3651, allocations: 12.09 kB / 1.312 GB, free: 8.406 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.3652, allocations: 15.97 kB / 1.312 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3652, allocations: 4 kB / 1.312 GB, free: 8.387 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001176/0.3653, allocations: 140.3 kB / 1.312 GB, free: 8.25 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3653, allocations: 0 / 1.312 GB, free: 8.25 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002395/0.3655, allocations: 32 kB / 1.312 GB, free: 8.219 MB / 1.014 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.0006734/0.3662, allocations: 0.7468 MB / 1.313 GB, free: 7.438 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003172/0.3665, allocations: 210.6 kB / 1.313 GB, free: 7.207 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3665, allocations: 0 / 1.313 GB, free: 7.207 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.3667, allocations: 91.33 kB / 1.314 GB, free: 7.105 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.3669, allocations: 26.39 kB / 1.314 GB, free: 7.082 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.3693, allocations: 1.951 MB / 1.315 GB, free: 4.973 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.3697, allocations: 0.7157 MB / 1.316 GB, free: 4.23 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.98e-05/0.3697, allocations: 20.69 kB / 1.316 GB, free: 4.211 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.3698, allocations: 47.3 kB / 1.316 GB, free: 4.164 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.3698, allocations: 0 / 1.316 GB, free: 4.164 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.3971, allocations: 3.139 MB / 1.319 GB, free: 1.141 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.592/8.989, allocations: 20.55 kB / 1.319 GB, free: 1.125 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.615028787404299]