Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 220 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.744/2.744, allocations: 476.7 MB / 0.7715 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 72.16 kB / 1.118 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3459, allocations: 169.9 MB / 1.284 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004591/0.3505, allocations: 2.395 MB / 1.286 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3522, allocations: 0.8805 MB / 1.287 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3523, allocations: 3.938 kB / 1.287 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.3529, allocations: 147.4 kB / 1.287 GB, free: 440 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.3531, allocations: 67.58 kB / 1.288 GB, free: 372 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.3532, allocations: 71.8 kB / 1.288 GB, free: 300 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.3535, allocations: 159.4 kB / 1.288 GB, free: 140 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.3537, allocations: 89.39 kB / 1.288 GB, free: 52 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3539, allocations: 75.77 kB / 1.288 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.354, allocations: 71.67 kB / 1.288 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.099e-05/0.3541, allocations: 12 kB / 1.288 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.3542, allocations: 55.89 kB / 1.288 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.3543, allocations: 43.83 kB / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.101e-05/0.3543, allocations: 63.67 kB / 1.288 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003039/0.3547, allocations: 171.3 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3547, allocations: 0 / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3547, allocations: 3.938 kB / 1.288 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3547, allocations: 4 kB / 1.288 GB, free: 15.56 MB / 0.9981 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.0008576/0.3555, allocations: 430.9 kB / 1.289 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3556, allocations: 8.031 kB / 1.289 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.641e-05/0.3556, allocations: 4.375 kB / 1.289 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.3556, allocations: 42.73 kB / 1.289 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.3559, allocations: 40.81 kB / 1.289 GB, free: 15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.3562, allocations: 177.1 kB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.3563, allocations: 59.41 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.3563, allocations: 12 kB / 1.289 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.3566, allocations: 144.1 kB / 1.289 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3566, allocations: 4 kB / 1.289 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3566, allocations: 0 / 1.289 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.3566, allocations: 7.984 kB / 1.289 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.3569, allocations: 95.83 kB / 1.289 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.3578, allocations: 0.6082 MB / 1.29 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002388/0.358, allocations: 54.73 kB / 1.29 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.3581, allocations: 28.86 kB / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.3581, allocations: 0 / 1.29 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.3583, allocations: 144 kB / 1.29 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.3583, allocations: 4 kB / 1.29 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004135/0.3587, allocations: 163.2 kB / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3588, allocations: 136.5 kB / 1.29 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.359, allocations: 187.2 kB / 1.291 GB, free: 13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3591, allocations: 33.7 kB / 1.291 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3592, allocations: 132 kB / 1.291 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3592, allocations: 23.84 kB / 1.291 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.3593, allocations: 33.72 kB / 1.291 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3594, allocations: 326.8 kB / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.3595, allocations: 43.94 kB / 1.291 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.3597, allocations: 113.3 kB / 1.291 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002989/0.36, allocations: 234.4 kB / 1.291 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.36, allocations: 0 / 1.291 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003858/0.3604, allocations: 240.7 kB / 1.292 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/0.3604, allocations: 69.22 kB / 1.292 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3605, allocations: 8.312 kB / 1.292 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3605, allocations: 4 kB / 1.292 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3606, allocations: 31.92 kB / 1.292 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3606, allocations: 4 kB / 1.292 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.3607, allocations: 23.83 kB / 1.292 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.3608, allocations: 12 kB / 1.292 GB, free: 11.55 MB / 0.9981 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.0001592/0.3609, allocations: 171.3 kB / 1.292 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3609, allocations: 15.95 kB / 1.292 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.361, allocations: 17.39 kB / 1.292 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.361, allocations: 0 / 1.292 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.361, allocations: 0 / 1.292 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.361, allocations: 0 / 1.292 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.3612, allocations: 192.6 kB / 1.292 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3612, allocations: 4 kB / 1.292 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.861e-05/0.3613, allocations: 8 kB / 1.292 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3613, allocations: 0 / 1.292 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3613, allocations: 0 / 1.292 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3613, allocations: 0 / 1.292 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.3613, allocations: 11.98 kB / 1.292 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.3617, allocations: 214.6 kB / 1.292 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.3617, allocations: 11.94 kB / 1.292 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.318e-05/0.3618, allocations: 8 kB / 1.292 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.3619, allocations: 8.078 kB / 1.292 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.3619, allocations: 7.984 kB / 1.292 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3619, allocations: 20.05 kB / 1.292 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000126/0.3621, allocations: 131.2 kB / 1.293 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3621, allocations: 0 / 1.293 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002723/0.3623, allocations: 28 kB / 1.293 GB, free: 10.63 MB / 0.9981 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.0007117/0.3631, allocations: 0.7642 MB / 1.293 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.3634, allocations: 210.6 kB / 1.294 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3634, allocations: 3.938 kB / 1.294 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.3635, allocations: 87.39 kB / 1.294 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3638, allocations: 20.39 kB / 1.294 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/0.3663, allocations: 1.976 MB / 1.296 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.3667, allocations: 0.7123 MB / 1.296 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.025e-05/0.3668, allocations: 24.41 kB / 1.296 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.3669, allocations: 43.42 kB / 1.296 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.3669, allocations: 0 / 1.296 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.3931, allocations: 3.404 MB / 1.3 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.91, allocations: 16.41 kB / 1.3 GB, free: 3.289 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.344179202977102]