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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 105.8 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 249.3 MB, free: 3.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.395/2.395, allocations: 443.5 MB / 0.7304 GB, free: 14.02 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 1.059 GB, free: 1.07 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2528, allocations: 160.7 MB / 1.215 GB, free: 52 kB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003831/0.2566, allocations: 2.367 MB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2579, allocations: 0.818 MB / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.258, allocations: 0 / 1.219 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.2586, allocations: 163.3 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2588, allocations: 55.67 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.259, allocations: 55.88 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.2592, allocations: 155.5 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.2594, allocations: 84.84 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.2595, allocations: 67.77 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.2597, allocations: 71.67 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.2597, allocations: 16 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.2598, allocations: 51.89 kB / 1.219 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.2599, allocations: 39.89 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.26, allocations: 67.67 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.2602, allocations: 171.3 kB / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2602, allocations: 0 / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2602, allocations: 0 / 1.22 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2602, allocations: 0 / 1.22 GB, free: 11.86 MB / 0.9669 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.0006889/0.2609, allocations: 0.4905 MB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2609, allocations: 12.03 kB / 1.22 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.261, allocations: 42.73 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001949/0.2612, allocations: 32.83 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.2614, allocations: 210 kB / 1.22 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.2615, allocations: 34.45 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.2615, allocations: 15.94 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.2618, allocations: 152.2 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2618, allocations: 3.938 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.2618, allocations: 3.938 kB / 1.221 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.2618, allocations: 7.984 kB / 1.221 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.262, allocations: 87.89 kB / 1.221 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008202/0.2628, allocations: 0.6442 MB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.2631, allocations: 58.61 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.994e-05/0.2631, allocations: 20.8 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.2632, allocations: 3.984 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.2633, allocations: 150.9 kB / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2633, allocations: 0 / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003597/0.2637, allocations: 163.2 kB / 1.222 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.2638, allocations: 136.5 kB / 1.222 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.264, allocations: 178.3 kB / 1.222 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.264, allocations: 37.62 kB / 1.222 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.2641, allocations: 140 kB / 1.222 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.2641, allocations: 23.83 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.2642, allocations: 37.67 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2643, allocations: 330.8 kB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.2644, allocations: 35.98 kB / 1.223 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.2645, allocations: 105.4 kB / 1.223 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.2648, allocations: 226.3 kB / 1.223 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2648, allocations: 4 kB / 1.223 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003562/0.2651, allocations: 248.7 kB / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.2652, allocations: 67.33 kB / 1.223 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2652, allocations: 4 kB / 1.223 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.2652, allocations: 4 kB / 1.223 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.2653, allocations: 27.98 kB / 1.223 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2653, allocations: 7.938 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.2654, allocations: 27.81 kB / 1.223 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.2655, allocations: 12.28 kB / 1.223 GB, free: 7.699 MB / 0.9669 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.0001433/0.2656, allocations: 163.5 kB / 1.223 GB, free: 7.523 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.2656, allocations: 15.89 kB / 1.223 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.2657, allocations: 13.39 kB / 1.223 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2657, allocations: 7.938 kB / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2657, allocations: 0 / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2657, allocations: 0 / 1.223 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.2658, allocations: 213.5 kB / 1.224 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.2658, allocations: 0 / 1.224 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.549e-05/0.2659, allocations: 15.94 kB / 1.224 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.2659, allocations: 3.938 kB / 1.224 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2659, allocations: 8 kB / 1.224 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2659, allocations: 0 / 1.224 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2659, allocations: 0 / 1.224 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003653/0.2663, allocations: 206.7 kB / 1.224 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.2664, allocations: 96.97 kB / 1.224 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.2664, allocations: 12 kB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.246e-05/0.2665, allocations: 11.98 kB / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.2665, allocations: 12 kB / 1.224 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.2665, allocations: 0 / 1.224 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001047/0.2666, allocations: 136.8 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2666, allocations: 0 / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002356/0.2669, allocations: 32 kB / 1.224 GB, free: 6.66 MB / 0.9669 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.0006217/0.2675, allocations: 0.7585 MB / 1.225 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003073/0.2678, allocations: 210.8 kB / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2678, allocations: 0.6875 kB / 1.225 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2679, allocations: 91.38 kB / 1.225 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.2681, allocations: 19.98 kB / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.2703, allocations: 1.968 MB / 1.227 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.2706, allocations: 0.7158 MB / 1.228 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.43e-05/0.2707, allocations: 12.64 kB / 1.228 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.2707, allocations: 47.53 kB / 1.228 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of SimCode: time 4.9e-07/0.2707, allocations: 3.938 kB / 1.228 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.2955, allocations: 3.141 MB / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.333, allocations: 6.578 kB / 1.231 GB, free: 15.54 MB / 0.9825 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv","/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) [Timeout 300] "Error: Could not read variable voltageControl.V_nominal in file Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable voltageControl.V_nominal from file Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable sou.V_in in file Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable sou.V_in from file Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! Error: Could not read variable Vtr_high.y in file Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv. Warning: Get data of variable Vtr_high.y from file Buildings_10_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.654112261996488]