Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_10_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.0008204/0.0008204, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005031/0.005031, allocations: 174.5 kB / 16.27 MB, free: 6.656 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.281/1.281, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.328/2.328, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002849, allocations: 8 kB / 0.8729 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5161/0.5164, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002342/0.5188, allocations: 2.025 MB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.5199, allocations: 0.7599 MB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.958e-05/0.52, allocations: 7.938 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.057e-05/0.5201, allocations: 19.8 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.5203, allocations: 55.73 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.5205, allocations: 43.89 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.5207, allocations: 195.4 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.521, allocations: 195.8 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.5211, allocations: 55.77 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.5212, allocations: 63.69 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.5213, allocations: 8 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.5214, allocations: 63.88 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.5214, allocations: 31.89 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.224e-05/0.5215, allocations: 85.38 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.5217, allocations: 167.3 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.5217, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5217, allocations: 4 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.5217, allocations: 0 / 1.027 GB, free: 11.99 MB / 0.7794 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.0005672/0.5223, allocations: 466.6 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5224, allocations: 12.03 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.5224, allocations: 46.67 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001965/0.5226, allocations: 32.73 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.5228, allocations: 208 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.5229, allocations: 34.45 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.5229, allocations: 15.94 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.5232, allocations: 144.2 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5232, allocations: 7.984 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.5232, allocations: 4 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.5232, allocations: 4 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.5234, allocations: 91.89 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.5242, allocations: 0.6402 MB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.5244, allocations: 62.55 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.173e-05/0.5245, allocations: 32.86 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.5245, allocations: 4 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.5247, allocations: 142.9 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.865e-06/0.5247, allocations: 3.984 kB / 1.029 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003567/0.5251, allocations: 175.1 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.5252, allocations: 132.5 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.5253, allocations: 186.8 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.5253, allocations: 33.64 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.54e-05/0.5254, allocations: 135.9 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.5255, allocations: 27.58 kB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.5255, allocations: 21.72 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.5256, allocations: 326.8 kB / 1.03 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.5257, allocations: 43.97 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.5258, allocations: 107.1 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.5261, allocations: 238.3 kB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5261, allocations: 4 kB / 1.03 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003412/0.5264, allocations: 252.5 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.114e-05/0.5265, allocations: 73.2 kB / 1.03 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.5265, allocations: 4 kB / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.5265, allocations: 0 / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.5266, allocations: 27.98 kB / 1.03 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.5267, allocations: 7.938 kB / 1.03 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.5268, allocations: 32.14 kB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.5268, allocations: 12 kB / 1.03 GB, free: 7.84 MB / 0.7794 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.000121/0.5269, allocations: 159.7 kB / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.527, allocations: 15.84 kB / 1.031 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.527, allocations: 13.41 kB / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.527, allocations: 0 / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.527, allocations: 0 / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.527, allocations: 3.984 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.5272, allocations: 225.5 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5272, allocations: 0 / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.5273, allocations: 15.92 kB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.5273, allocations: 3.938 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5273, allocations: 4 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5273, allocations: 0 / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5273, allocations: 0 / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.5277, allocations: 218.7 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.5277, allocations: 88.86 kB / 1.031 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.5278, allocations: 11.95 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.5279, allocations: 8 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.5279, allocations: 11.98 kB / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.5279, allocations: 7.938 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.101e-05/0.528, allocations: 136.4 kB / 1.031 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.528, allocations: 0 / 1.031 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002304/0.5283, allocations: 32 kB / 1.031 GB, free: 6.805 MB / 0.7794 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.0005685/0.5288, allocations: 0.7622 MB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002888/0.5291, allocations: 222.6 kB / 1.032 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5291, allocations: 0 / 1.032 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.5293, allocations: 108.1 kB / 1.032 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.5295, allocations: 23.97 kB / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.5315, allocations: 2.009 MB / 1.034 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.5317, allocations: 0.716 MB / 1.035 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.627e-05/0.5318, allocations: 20.62 kB / 1.035 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.72e-05/0.5318, allocations: 35.42 kB / 1.035 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5319, allocations: 4 kB / 1.035 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.183/1.715, allocations: 2.742 MB / 1.038 GB, free: 64 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/1.715, allocations: 207.3 kB / 1.038 GB, free: 15.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/3.433, allocations: 3.938 kB / 1.038 GB, free: 15.8 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches