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.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.0007713/0.0007713, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008134/0.0008134, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8908/0.8908, allocations: 177.1 MB / 202.8 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.722/1.722, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 1.473e-06/1.473e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.916e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002486/0.002506, allocations: 2.29 MB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009189/0.003424, allocations: 0.818 MB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.003504, allocations: 0 / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.00394, allocations: 150.1 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.004209, allocations: 59.61 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.004348, allocations: 67.67 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000184/0.004532, allocations: 171.4 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.004734, allocations: 77.19 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.004893, allocations: 99.72 kB / 1.003 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.005015, allocations: 63.77 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.005033, allocations: 12 kB / 1.003 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.005119, allocations: 55.83 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.005167, allocations: 43.83 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.005217, allocations: 43.92 kB / 1.003 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.005416, allocations: 187.4 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005417, allocations: 0 / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005418, allocations: 0 / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.005422, allocations: 4 kB / 1.004 GB, free: 9.418 MB / 0.9636 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.000518/0.00594, allocations: 425.2 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.005973, allocations: 8.75 kB / 1.004 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.006004, allocations: 42.73 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.00622, allocations: 40.81 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.006409, allocations: 154.1 kB / 1.004 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.00646, allocations: 60.16 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.006484, allocations: 16.12 kB / 1.004 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.006697, allocations: 179.7 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.006706, allocations: 3.938 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.006717, allocations: 4 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.006734, allocations: 11.98 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.006864, allocations: 105.7 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.007439, allocations: 0.5772 MB / 1.005 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.007626, allocations: 88.19 kB / 1.005 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.942e-05/0.007675, allocations: 58.61 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.007688, allocations: 4 kB / 1.005 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.007835, allocations: 180.4 kB / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.007837, allocations: 0 / 1.006 GB, free: 7.266 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002728/0.008109, allocations: 230.7 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.008159, allocations: 132.5 kB / 1.006 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.008279, allocations: 194.6 kB / 1.006 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.008293, allocations: 33.7 kB / 1.006 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.008353, allocations: 140 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.008369, allocations: 19.89 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.008412, allocations: 37.67 kB / 1.006 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.839e-05/0.00849, allocations: 330.7 kB / 1.007 GB, free: 6.074 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.008559, allocations: 95.38 kB / 1.007 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.632e-05/0.008656, allocations: 171 kB / 1.007 GB, free: 5.758 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.00885, allocations: 238.3 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.008853, allocations: 0 / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000247/0.0091, allocations: 304.2 kB / 1.007 GB, free: 5.145 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.009134, allocations: 65.11 kB / 1.007 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.00914, allocations: 7.938 kB / 1.007 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.009153, allocations: 4 kB / 1.007 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.133e-05/0.009224, allocations: 31.92 kB / 1.007 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.009231, allocations: 4 kB / 1.007 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.268e-05/0.009303, allocations: 27.88 kB / 1.008 GB, free: 4.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.009312, allocations: 4 kB / 1.008 GB, free: 4.992 MB / 0.9636 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 8.901e-05/0.009401, allocations: 178.2 kB / 1.008 GB, free: 4.805 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.00942, allocations: 15.91 kB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.009443, allocations: 17.41 kB / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.009444, allocations: 0 / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.009447, allocations: 0 / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.009451, allocations: 0 / 1.008 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.009551, allocations: 172.7 kB / 1.008 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.009552, allocations: 0 / 1.008 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.009594, allocations: 11.98 kB / 1.008 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.009595, allocations: 0 / 1.008 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.009606, allocations: 15.94 kB / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.009607, allocations: 0 / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009608, allocations: 0 / 1.008 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.009855, allocations: 282 kB / 1.008 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.00987, allocations: 11.92 kB / 1.008 GB, free: 4.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.009891, allocations: 11.94 kB / 1.008 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.095e-05/0.009932, allocations: 11.98 kB / 1.008 GB, free: 4.184 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.009978, allocations: 0 / 1.008 GB, free: 4.184 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.009988, allocations: 11.98 kB / 1.008 GB, free: 4.172 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.642e-05/0.01007, allocations: 133.7 kB / 1.008 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01007, allocations: 3.938 kB / 1.008 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001616/0.01024, allocations: 31.95 kB / 1.008 GB, free: 4.008 MB / 0.9636 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.0004139/0.01065, allocations: 0.8126 MB / 1.009 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.01087, allocations: 304.4 kB / 1.009 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01087, allocations: 0 / 1.009 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/0.01108, allocations: 129 kB / 1.01 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.01124, allocations: 16 kB / 1.01 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.01292, allocations: 2.221 MB / 1.012 GB, free: 216 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.012e-05/0.01299, allocations: 102.8 kB / 1.012 GB, free: 96 kB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.608e-05/0.01304, allocations: 20.64 kB / 1.012 GB, free: 76 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.0131, allocations: 36.48 kB / 1.012 GB, free: 40 kB / 0.9636 GB Notification: Performance of SimCode: time 9.42e-07/0.0131, allocations: 0 / 1.012 GB, free: 40 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.02997, allocations: 3.922 MB / 1.016 GB, free: 12.27 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.637/6.667, allocations: 5.188 kB / 1.016 GB, free: 12.27 MB / 0.9792 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable voltageControl.V_nominal in file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable voltageControl.V_nominal from file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable sou.V_in in file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable sou.V_in from file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable Vtr_high.y in file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable Vtr_high.y from file Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,voltageControl.V_nominal,sou.V_in,Vtr_high.y,voltageControl.y Variables in the result:time,voltageControl.y [Calling sys.exit(0), Time elapsed: 10.75490272603929]