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.001364/0.001364, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001837/0.001837, allocations: 216.4 kB / 22.25 MB, free: 5.262 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.816 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.252/3.252, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002067/0.002067, allocations: 64.47 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3612, allocations: 176.1 MB / 1.325 GB, free: 2.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004355/0.3655, allocations: 2.329 MB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.3673, allocations: 0.8182 MB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.3675, allocations: 0 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006575/0.3681, allocations: 147.4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.3684, allocations: 71.59 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.3686, allocations: 63.81 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.3689, allocations: 163.5 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.3692, allocations: 85.11 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.3693, allocations: 75.7 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.3695, allocations: 59.67 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.3695, allocations: 12 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3697, allocations: 59.88 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.3697, allocations: 39.84 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.3698, allocations: 51.73 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.3701, allocations: 183.3 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3701, allocations: 4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3701, allocations: 0 / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.3702, allocations: 0 / 1.329 GB, free: 14.29 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.0007752/0.3709, allocations: 421.2 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.371, allocations: 12.02 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.371, allocations: 42.75 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000281/0.3713, allocations: 40.75 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.3716, allocations: 160.3 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.3716, allocations: 71.53 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.3717, allocations: 12 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.372, allocations: 173.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.372, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.372, allocations: 8 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.3721, allocations: 7.984 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.3723, allocations: 121.5 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.3732, allocations: 0.577 MB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.3735, allocations: 88.25 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.3736, allocations: 54.61 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.3736, allocations: 192 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.3738, allocations: 180.3 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3738, allocations: 7.875 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004704/0.3743, allocations: 218.7 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3744, allocations: 136.5 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3746, allocations: 195.2 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3747, allocations: 25.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3748, allocations: 140 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.3748, allocations: 31.77 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.047e-05/0.3749, allocations: 37.7 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.375, allocations: 326.8 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3752, allocations: 87.39 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.3753, allocations: 171.3 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.3756, allocations: 230.4 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3756, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004187/0.376, allocations: 308 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.3761, allocations: 67.39 kB / 1.333 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3761, allocations: 4 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3761, allocations: 4 kB / 1.333 GB, free: 9.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3762, allocations: 27.92 kB / 1.333 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3762, allocations: 4 kB / 1.333 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3764, allocations: 28.19 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.3764, allocations: 12 kB / 1.333 GB, free: 9.859 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.0001434/0.3766, allocations: 163.5 kB / 1.333 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.3766, allocations: 19.84 kB / 1.333 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.3766, allocations: 13.41 kB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.3766, allocations: 7.984 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3766, allocations: 0 / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3766, allocations: 3.938 kB / 1.333 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.3768, allocations: 168.7 kB / 1.333 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3768, allocations: 3.938 kB / 1.333 GB, free: 9.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.774e-05/0.3769, allocations: 15.98 kB / 1.333 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3769, allocations: 4 kB / 1.333 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3769, allocations: 0 / 1.333 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3769, allocations: 0 / 1.333 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3769, allocations: 3.938 kB / 1.333 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.3773, allocations: 286 kB / 1.334 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.3774, allocations: 19.81 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.3774, allocations: 0 / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/0.3775, allocations: 12.05 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.44e-05/0.3776, allocations: 19.97 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3776, allocations: 4 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001182/0.3777, allocations: 128.3 kB / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3777, allocations: 0 / 1.334 GB, free: 8.898 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002484/0.3779, allocations: 32 kB / 1.334 GB, free: 8.867 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.0007655/0.3787, allocations: 0.8168 MB / 1.335 GB, free: 8.004 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.3791, allocations: 304.2 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3791, allocations: 0 / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3793, allocations: 121.2 kB / 1.335 GB, free: 7.527 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3795, allocations: 21.78 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/0.3821, allocations: 2.239 MB / 1.337 GB, free: 5.059 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.3822, allocations: 98.7 kB / 1.337 GB, free: 4.945 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.717e-05/0.3823, allocations: 24.62 kB / 1.337 GB, free: 4.922 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.879e-05/0.3824, allocations: 35.42 kB / 1.337 GB, free: 4.887 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3824, allocations: 4 kB / 1.337 GB, free: 4.883 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.4153, allocations: 3.768 MB / 1.341 GB, free: 1.273 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.95, allocations: 6.484 kB / 1.341 GB, free: 1.27 MB / 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.952179775107652]