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.0009309/0.0009309, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.001029/0.001029, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 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 0.9293/0.9293, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.754/1.754, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_11_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.9504 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/3.079e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004508/0.004539, allocations: 2.305 MB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.006099, allocations: 0.8142 MB / 0.9535 GB, free: 404 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.006268, allocations: 4 kB / 0.9535 GB, free: 400 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0008394/0.007108, allocations: 147.3 kB / 0.9536 GB, free: 252 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.007379, allocations: 67.48 kB / 0.9537 GB, free: 184 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.007634, allocations: 71.73 kB / 0.9538 GB, free: 112 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.007979, allocations: 163.4 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.008286, allocations: 73.19 kB / 0.954 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.008569, allocations: 103.7 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000217/0.008786, allocations: 63.78 kB / 0.9542 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.008816, allocations: 16 kB / 0.9542 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.008982, allocations: 47.91 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.009061, allocations: 39.89 kB / 0.9543 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.009138, allocations: 47.84 kB / 0.9543 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.00948, allocations: 175.4 kB / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.009489, allocations: 8 kB / 0.9545 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.743e-06/0.00949, allocations: 0 / 0.9545 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.009498, allocations: 7.875 kB / 0.9545 GB, free: 15.38 MB / 0.9167 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.0008544/0.01035, allocations: 419 kB / 0.9549 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.0104, allocations: 11.97 kB / 0.9549 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.01046, allocations: 46.73 kB / 0.9549 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.01073, allocations: 36.83 kB / 0.955 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.01104, allocations: 152 kB / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.01112, allocations: 68.14 kB / 0.9552 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.01116, allocations: 16.12 kB / 0.9552 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.01149, allocations: 173.8 kB / 0.9554 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.0115, allocations: 3.984 kB / 0.9554 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.01152, allocations: 8 kB / 0.9554 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.01154, allocations: 4 kB / 0.9554 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.01177, allocations: 125.6 kB / 0.9555 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008791/0.01265, allocations: 0.581 MB / 0.9561 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.01292, allocations: 80.27 kB / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.943e-05/0.013, allocations: 54.61 kB / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.01302, allocations: 0 / 0.9562 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002348/0.01325, allocations: 188.4 kB / 0.9564 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.01325, allocations: 0 / 0.9564 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003998/0.01365, allocations: 218.8 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.01373, allocations: 136.5 kB / 0.9567 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.01391, allocations: 192 kB / 0.9569 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.01394, allocations: 29.7 kB / 0.9569 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.01402, allocations: 140 kB / 0.9571 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.01405, allocations: 19.86 kB / 0.9571 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.547e-05/0.01411, allocations: 41.7 kB / 0.9571 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01422, allocations: 322.8 kB / 0.9574 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.01434, allocations: 99.38 kB / 0.9575 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.01448, allocations: 167.4 kB / 0.9577 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.01468, allocations: 234.4 kB / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01468, allocations: 0 / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003042/0.01499, allocations: 312 kB / 0.9582 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.01504, allocations: 59.41 kB / 0.9583 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.01505, allocations: 8.25 kB / 0.9583 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01506, allocations: 4 kB / 0.9583 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.01516, allocations: 39.86 kB / 0.9583 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.01517, allocations: 7.984 kB / 0.9583 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.073e-05/0.01526, allocations: 23.84 kB / 0.9583 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.01527, allocations: 8 kB / 0.9583 GB, free: 10.95 MB / 0.9167 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.0001145/0.01539, allocations: 172.5 kB / 0.9585 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.475e-05/0.0154, allocations: 7.953 kB / 0.9585 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.01543, allocations: 21.39 kB / 0.9585 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01544, allocations: 8 kB / 0.9585 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.01544, allocations: 0 / 0.9585 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01545, allocations: 0 / 0.9585 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.01559, allocations: 172.7 kB / 0.9587 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01559, allocations: 0 / 0.9587 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.01564, allocations: 8 kB / 0.9587 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01565, allocations: 0 / 0.9587 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.01566, allocations: 7.938 kB / 0.9587 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01566, allocations: 3.984 kB / 0.9587 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01566, allocations: 0 / 0.9587 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.01596, allocations: 286.3 kB / 0.959 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.01598, allocations: 11.94 kB / 0.959 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.016, allocations: 11.92 kB / 0.959 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.531e-05/0.01605, allocations: 8 kB / 0.959 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.01611, allocations: 15.98 kB / 0.959 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.01611, allocations: 0 / 0.959 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.128e-05/0.01619, allocations: 139.2 kB / 0.9592 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01619, allocations: 0 / 0.9592 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001885/0.01638, allocations: 28 kB / 0.9592 GB, free: 9.969 MB / 0.9167 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.0005079/0.01689, allocations: 0.8276 MB / 0.96 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002773/0.01717, allocations: 303.7 kB / 0.9603 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.01717, allocations: 0 / 0.9603 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.77e-05/0.01725, allocations: 117.1 kB / 0.9604 GB, free: 8.625 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.01745, allocations: 20.62 kB / 0.9604 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.01918, allocations: 2.233 MB / 0.9626 GB, free: 6.16 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.102e-05/0.01925, allocations: 106.8 kB / 0.9627 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.562e-05/0.01932, allocations: 16.62 kB / 0.9627 GB, free: 6.023 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.01938, allocations: 40.48 kB / 0.9628 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/0.01938, allocations: 4 kB / 0.9628 GB, free: 5.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.03955, allocations: 3.89 MB / 0.9666 GB, free: 2.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/7.356, allocations: 14.03 kB / 0.9666 GB, free: 2.238 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.557609205134213]