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.001203/0.001203, 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.001397/0.001397, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8995/0.8995, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.73/1.73, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.9809 GB, free: 2.664 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116e-05/1.238e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002444/0.002456, allocations: 2.307 MB / 0.9832 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.003303, allocations: 0.818 MB / 0.984 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.003374, allocations: 4 kB / 0.984 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.00379, allocations: 143.3 kB / 0.9841 GB, free: 15.37 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.003919, allocations: 67.59 kB / 0.9842 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.004042, allocations: 67.67 kB / 0.9842 GB, free: 15.24 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.004211, allocations: 159.4 kB / 0.9844 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.004407, allocations: 92.95 kB / 0.9845 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.004548, allocations: 99.72 kB / 0.9846 GB, free: 14.89 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.004662, allocations: 55.81 kB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.004681, allocations: 12 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.004758, allocations: 55.88 kB / 0.9847 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.004803, allocations: 39.89 kB / 0.9847 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.004851, allocations: 43.84 kB / 0.9848 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.005031, allocations: 187.4 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.005033, allocations: 0 / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005034, allocations: 0 / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.005038, allocations: 4 kB / 0.985 GB, free: 14.5 MB / 0.948 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.000477/0.005515, allocations: 425.2 kB / 0.9854 GB, free: 14.05 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.005548, allocations: 8.031 kB / 0.9854 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.00558, allocations: 50.66 kB / 0.9854 GB, free: 13.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.005735, allocations: 32.83 kB / 0.9854 GB, free: 13.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.005902, allocations: 158.1 kB / 0.9856 GB, free: 13.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.005951, allocations: 68.16 kB / 0.9857 GB, free: 13.69 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.005971, allocations: 8.125 kB / 0.9857 GB, free: 13.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.00617, allocations: 185.8 kB / 0.9858 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.006177, allocations: 4 kB / 0.9858 GB, free: 13.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.006194, allocations: 4 kB / 0.9859 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.006209, allocations: 8 kB / 0.9859 GB, free: 13.46 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.006339, allocations: 120 kB / 0.986 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.00686, allocations: 0.5889 MB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.007023, allocations: 80.33 kB / 0.9866 GB, free: 12.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.007073, allocations: 54.55 kB / 0.9867 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.007084, allocations: 4 kB / 0.9867 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.007232, allocations: 176.4 kB / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.007233, allocations: 0 / 0.9868 GB, free: 12.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002494/0.007482, allocations: 230.8 kB / 0.9871 GB, free: 12.08 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.007531, allocations: 136.5 kB / 0.9872 GB, free: 11.92 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.007639, allocations: 183.2 kB / 0.9874 GB, free: 11.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.007651, allocations: 29.7 kB / 0.9874 GB, free: 11.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.007712, allocations: 140 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.007729, allocations: 23.8 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.00777, allocations: 41.7 kB / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.007845, allocations: 322.8 kB / 0.9879 GB, free: 11.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.906e-05/0.007915, allocations: 99.33 kB / 0.988 GB, free: 11.04 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.227e-05/0.008007, allocations: 170.7 kB / 0.9882 GB, free: 10.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.008156, allocations: 230.4 kB / 0.9884 GB, free: 10.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.008159, allocations: 0 / 0.9884 GB, free: 10.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002224/0.008381, allocations: 304.4 kB / 0.9887 GB, free: 10.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.008411, allocations: 63.41 kB / 0.9887 GB, free: 10.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.008417, allocations: 7.875 kB / 0.9887 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.008428, allocations: 4 kB / 0.9887 GB, free: 10.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.698e-05/0.008495, allocations: 31.92 kB / 0.9888 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.008501, allocations: 4.312 kB / 0.9888 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.158e-05/0.008573, allocations: 31.83 kB / 0.9888 GB, free: 10.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.008583, allocations: 8 kB / 0.9888 GB, free: 10.07 MB / 0.948 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.526e-05/0.008668, allocations: 163.4 kB / 0.989 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.008682, allocations: 15.95 kB / 0.989 GB, free: 9.875 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.008704, allocations: 21.39 kB / 0.989 GB, free: 9.855 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008706, allocations: 0 / 0.989 GB, free: 9.855 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.00871, allocations: 4 kB / 0.989 GB, free: 9.852 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008713, allocations: 0 / 0.989 GB, free: 9.852 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.008947, allocations: 180.6 kB / 0.9892 GB, free: 9.633 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.008947, allocations: 0 / 0.9892 GB, free: 9.633 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.008987, allocations: 8 kB / 0.9892 GB, free: 9.625 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.008988, allocations: 0 / 0.9892 GB, free: 9.625 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.008998, allocations: 7.938 kB / 0.9892 GB, free: 9.617 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.008999, allocations: 4 kB / 0.9892 GB, free: 9.613 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.009, allocations: 0 / 0.9892 GB, free: 9.613 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.009255, allocations: 286 kB / 0.9895 GB, free: 9.297 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.00927, allocations: 11.94 kB / 0.9895 GB, free: 9.285 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.009289, allocations: 7.938 kB / 0.9895 GB, free: 9.277 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.00933, allocations: 11.98 kB / 0.9895 GB, free: 9.266 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.009375, allocations: 11.98 kB / 0.9895 GB, free: 9.254 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.009379, allocations: 0 / 0.9895 GB, free: 9.254 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.009446, allocations: 140.3 kB / 0.9897 GB, free: 9.117 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009446, allocations: 4.062 kB / 0.9897 GB, free: 9.113 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000158/0.009604, allocations: 31.94 kB / 0.9897 GB, free: 9.082 MB / 0.948 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.0003748/0.009979, allocations: 0.8126 MB / 0.9905 GB, free: 8.219 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.01019, allocations: 299.7 kB / 0.9908 GB, free: 7.883 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01019, allocations: 0 / 0.9908 GB, free: 7.883 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.01026, allocations: 121.8 kB / 0.9909 GB, free: 7.746 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.01042, allocations: 24.22 kB / 0.9909 GB, free: 7.723 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.01185, allocations: 2.218 MB / 0.9931 GB, free: 5.297 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.779e-05/0.01191, allocations: 102.8 kB / 0.9932 GB, free: 5.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.025e-05/0.01196, allocations: 20.62 kB / 0.9932 GB, free: 5.156 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.01201, allocations: 44.48 kB / 0.9932 GB, free: 5.113 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.01201, allocations: 3.938 kB / 0.9932 GB, free: 5.109 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.02879, allocations: 3.889 MB / 0.997 GB, free: 1.383 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.115, allocations: 11.67 kB / 0.997 GB, free: 1.379 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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] "" 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: 11.271052278578281]