Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001875/0.001875, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002466/0.002466, allocations: 215.4 kB / 22.25 MB, free: 5.105 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.193/3.193, allocations: 0.49 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",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.002053/0.002053, allocations: 72.11 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3578, allocations: 176.1 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.0044/0.3622, allocations: 2.312 MB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3639, allocations: 0.8221 MB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.364, allocations: 4 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.3647, allocations: 147.3 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002386/0.365, allocations: 67.59 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.3652, allocations: 63.88 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.3655, allocations: 167.4 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.3658, allocations: 77.14 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.366, allocations: 79.7 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.3662, allocations: 71.67 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.3662, allocations: 15.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.3664, allocations: 51.89 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.3665, allocations: 35.91 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.3666, allocations: 51.73 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.3669, allocations: 187.2 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3669, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3669, allocations: 4 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.3669, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 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.0008102/0.3677, allocations: 425.2 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3678, allocations: 12.03 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.3678, allocations: 46.72 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003248/0.3681, allocations: 36.83 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3684, allocations: 159.7 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.3685, allocations: 71.47 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.3686, allocations: 12 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.3689, allocations: 174.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3689, allocations: 8 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.3689, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.3689, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.3692, allocations: 126.8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009241/0.3701, allocations: 0.577 MB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002835/0.3704, allocations: 84.2 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.3705, allocations: 58.61 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.3705, allocations: 192 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.3708, allocations: 176.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3708, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000459/0.3712, allocations: 222.7 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.3713, allocations: 136.5 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3715, allocations: 191.2 kB / 1.332 GB, free: 10.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3716, allocations: 25.7 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3717, allocations: 144 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.702e-05/0.3717, allocations: 31.78 kB / 1.332 GB, free: 10.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.3718, allocations: 37.7 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.372, allocations: 326.8 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3721, allocations: 95.38 kB / 1.333 GB, free: 9.941 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.3723, allocations: 162 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.3726, allocations: 234.3 kB / 1.333 GB, free: 9.457 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3726, allocations: 4 kB / 1.333 GB, free: 9.453 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004404/0.373, allocations: 308.2 kB / 1.334 GB, free: 9.121 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.752e-05/0.3731, allocations: 63.41 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3731, allocations: 4 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.3731, allocations: 4 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3732, allocations: 27.98 kB / 1.334 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3733, allocations: 7.922 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.3734, allocations: 19.89 kB / 1.334 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3734, allocations: 12 kB / 1.334 GB, free: 8.973 MB / 1.029 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.0001635/0.3736, allocations: 167.6 kB / 1.334 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.3736, allocations: 19.84 kB / 1.334 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.3737, allocations: 17.39 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3737, allocations: 0 / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3737, allocations: 3.938 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3737, allocations: 0 / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3739, allocations: 176.7 kB / 1.334 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3739, allocations: 3.938 kB / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-05/0.3739, allocations: 8 kB / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.374, allocations: 0 / 1.334 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.374, allocations: 7.984 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.374, allocations: 0 / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.374, allocations: 4 kB / 1.334 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/0.3744, allocations: 278.1 kB / 1.334 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.3745, allocations: 23.89 kB / 1.334 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.3745, allocations: 11.98 kB / 1.334 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.3746, allocations: 7.938 kB / 1.334 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/0.3747, allocations: 11.98 kB / 1.334 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.3747, allocations: 4 kB / 1.334 GB, free: 8.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001319/0.3748, allocations: 140.3 kB / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3748, allocations: 0 / 1.335 GB, free: 8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002571/0.3751, allocations: 32 kB / 1.335 GB, free: 7.969 MB / 1.029 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.0007892/0.3758, allocations: 0.8188 MB / 1.335 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003954/0.3762, allocations: 299.7 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3762, allocations: 0.6875 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3764, allocations: 125.1 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3766, allocations: 14.19 kB / 1.336 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.3794, allocations: 2.246 MB / 1.338 GB, free: 4.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3795, allocations: 102.7 kB / 1.338 GB, free: 4.043 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.762e-05/0.3796, allocations: 16.64 kB / 1.338 GB, free: 4.027 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.3797, allocations: 39.42 kB / 1.338 GB, free: 3.988 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3797, allocations: 3.938 kB / 1.338 GB, free: 3.984 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.4143, allocations: 3.817 MB / 1.342 GB, free: 328 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 6.297 kB / 1.342 GB, free: 324 kB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable voltageControl.V_nominal from file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable sou.V_in in file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable sou.V_in from file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable Vtr_high.y in file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable Vtr_high.y from file Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.674409525003284]