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.001415/0.001415, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001509/0.001509, allocations: 217.1 kB / 23.03 MB, free: 4.953 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.79/2.79, allocations: 476.8 MB / 0.7715 GB, free: 3.859 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.002031/0.002031, allocations: 66.02 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.346, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004932/0.351, allocations: 2.315 MB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3529, allocations: 0.8182 MB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.3531, allocations: 4 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007937/0.3539, allocations: 147.3 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.3542, allocations: 59.67 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.3544, allocations: 67.8 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.3547, allocations: 159.4 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002694/0.355, allocations: 93.17 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.3552, allocations: 75.7 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.3553, allocations: 67.67 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.3554, allocations: 12 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3555, allocations: 55.89 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.3556, allocations: 39.91 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.3557, allocations: 51.73 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.356, allocations: 180.7 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.356, allocations: 3.984 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.356, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.356, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 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.0008673/0.3569, allocations: 425.2 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.3569, allocations: 12.03 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.705e-05/0.357, allocations: 384 / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.357, allocations: 38.75 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003858/0.3574, allocations: 44.81 kB / 1.289 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.3577, allocations: 173.3 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.955e-05/0.3578, allocations: 63.41 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.3579, allocations: 8 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.3583, allocations: 173.9 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3583, allocations: 0 / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3583, allocations: 8 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.3583, allocations: 4 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.3586, allocations: 125.5 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3597, allocations: 0.5849 MB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3599, allocations: 84.45 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.36, allocations: 58.48 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.3601, allocations: 0 / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/0.3603, allocations: 174.8 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 5.59e-06/0.3603, allocations: 7.984 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0005559/0.3609, allocations: 226.6 kB / 1.29 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.361, allocations: 136.5 kB / 1.29 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.3612, allocations: 183.3 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3612, allocations: 29.7 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3614, allocations: 144 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.3614, allocations: 15.86 kB / 1.291 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.3615, allocations: 37.7 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3616, allocations: 330.8 kB / 1.291 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3618, allocations: 95.38 kB / 1.291 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.362, allocations: 168.8 kB / 1.291 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.3623, allocations: 234.3 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3623, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004904/0.3628, allocations: 304.1 kB / 1.292 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.3628, allocations: 65.75 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3629, allocations: 0 / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3629, allocations: 4.312 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.363, allocations: 31.98 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.363, allocations: 11.92 kB / 1.292 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.3632, allocations: 23.84 kB / 1.292 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3632, allocations: 15.94 kB / 1.292 GB, free: 2.094 MB / 0.9825 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.0001633/0.3634, allocations: 165.6 kB / 1.292 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.3634, allocations: 11.95 kB / 1.292 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3634, allocations: 17.39 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3634, allocations: 0 / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3634, allocations: 7.938 kB / 1.292 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3634, allocations: 4 kB / 1.292 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3636, allocations: 184.6 kB / 1.292 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3636, allocations: 0 / 1.292 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.738e-05/0.3637, allocations: 8 kB / 1.292 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3637, allocations: 0 / 1.292 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.3637, allocations: 4 kB / 1.292 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3637, allocations: 3.984 kB / 1.292 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3637, allocations: 0 / 1.292 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.3643, allocations: 274.1 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.3644, allocations: 19.94 kB / 1.293 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.3644, allocations: 7.984 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.3645, allocations: 8 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.3646, allocations: 15.98 kB / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3646, allocations: 0 / 1.293 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001378/0.3647, allocations: 143.2 kB / 1.293 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3647, allocations: 0 / 1.293 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002718/0.365, allocations: 31.94 kB / 1.293 GB, free: 1.105 MB / 0.9825 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.0009682/0.366, allocations: 0.8183 MB / 1.294 GB, free: 248 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004614/0.3664, allocations: 295.7 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3664, allocations: 4 kB / 1.294 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3666, allocations: 117.1 kB / 1.294 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.3668, allocations: 16.69 kB / 1.294 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.3699, allocations: 2.245 MB / 1.296 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.37, allocations: 106.7 kB / 1.296 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.118e-05/0.3701, allocations: 16.66 kB / 1.296 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.3702, allocations: 39.42 kB / 1.296 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.3702, allocations: 3.938 kB / 1.296 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.409, allocations: 3.448 MB / 1.3 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.33, allocations: 5.484 kB / 1.3 GB, free: 9.855 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: 19.122648798045702]