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.0008878/0.0008878, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008338/0.0008338, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8774/0.8774, allocations: 177.2 MB / 203.5 MB, free: 5.73 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.6229 GB, free: 8.66 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: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.9821 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.202e-05, allocations: 9.172 kB / 0.9822 GB, free: 2.125 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002506/0.002528, allocations: 2.304 MB / 0.9844 GB, free: 15.81 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0008998/0.003428, allocations: 0.8181 MB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.003509, allocations: 3.938 kB / 0.9852 GB, free: 14.98 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004394/0.003948, allocations: 143.3 kB / 0.9853 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.004081, allocations: 67.53 kB / 0.9854 GB, free: 14.77 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001287/0.00421, allocations: 71.78 kB / 0.9855 GB, free: 14.7 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.004394, allocations: 167.4 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.004591, allocations: 77.03 kB / 0.9857 GB, free: 14.46 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.004742, allocations: 103.7 kB / 0.9858 GB, free: 14.36 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.004863, allocations: 59.8 kB / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.004883, allocations: 12 kB / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-05/0.004961, allocations: 51.88 kB / 0.9859 GB, free: 14.24 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.005008, allocations: 39.84 kB / 0.986 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.00506, allocations: 51.78 kB / 0.986 GB, free: 14.15 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.005268, allocations: 183.4 kB / 0.9862 GB, free: 13.97 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00527, allocations: 0 / 0.9862 GB, free: 13.97 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005271, allocations: 4 kB / 0.9862 GB, free: 13.97 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.005276, allocations: 0 / 0.9862 GB, free: 13.97 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.0004986/0.005775, allocations: 425.2 kB / 0.9866 GB, free: 13.51 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.005807, allocations: 12.03 kB / 0.9866 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.005976, allocations: 32.83 kB / 0.9866 GB, free: 13.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.00615, allocations: 158.1 kB / 0.9868 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.84e-05/0.006208, allocations: 72.08 kB / 0.9869 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.006233, allocations: 12.38 kB / 0.9869 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.006441, allocations: 179.9 kB / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006449, allocations: 0 / 0.987 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.006463, allocations: 7.984 kB / 0.987 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.006477, allocations: 4 kB / 0.9871 GB, free: 12.99 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.006608, allocations: 117.6 kB / 0.9872 GB, free: 12.87 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005125/0.00712, allocations: 0.5542 MB / 0.9877 GB, free: 12.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.007292, allocations: 88.25 kB / 0.9878 GB, free: 12.16 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.007343, allocations: 58.55 kB / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.007355, allocations: 0 / 0.9878 GB, free: 12.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001479/0.007502, allocations: 176.5 kB / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.007503, allocations: 0 / 0.988 GB, free: 11.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002539/0.007757, allocations: 210.9 kB / 0.9882 GB, free: 11.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.007814, allocations: 144.4 kB / 0.9884 GB, free: 11.49 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.007923, allocations: 186.9 kB / 0.9885 GB, free: 11.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.007935, allocations: 33.64 kB / 0.9886 GB, free: 11.26 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.008, allocations: 147.7 kB / 0.9887 GB, free: 11.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.008018, allocations: 23.84 kB / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.008061, allocations: 41.7 kB / 0.9888 GB, free: 11.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.008134, allocations: 322.8 kB / 0.9891 GB, free: 10.72 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.922e-05/0.008204, allocations: 87.39 kB / 0.9892 GB, free: 10.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.008297, allocations: 172.8 kB / 0.9893 GB, free: 10.41 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.008447, allocations: 238.3 kB / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.00845, allocations: 0 / 0.9896 GB, free: 10.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002227/0.008672, allocations: 304.2 kB / 0.9898 GB, free: 9.793 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.008705, allocations: 63.39 kB / 0.9899 GB, free: 9.719 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.00871, allocations: 0 / 0.9899 GB, free: 9.719 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.008722, allocations: 4 kB / 0.9899 GB, free: 9.715 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.008794, allocations: 31.92 kB / 0.9899 GB, free: 9.684 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.008802, allocations: 8.25 kB / 0.9899 GB, free: 9.676 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.008874, allocations: 31.83 kB / 0.99 GB, free: 9.645 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.008884, allocations: 8 kB / 0.99 GB, free: 9.637 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.732e-05/0.008972, allocations: 174.8 kB / 0.9901 GB, free: 9.453 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.008984, allocations: 11.95 kB / 0.9902 GB, free: 9.441 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.009005, allocations: 13.47 kB / 0.9902 GB, free: 9.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.009007, allocations: 0 / 0.9902 GB, free: 9.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.009012, allocations: 3.938 kB / 0.9902 GB, free: 9.426 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.009016, allocations: 7.984 kB / 0.9902 GB, free: 9.418 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.059e-05/0.009106, allocations: 141.3 kB / 0.9903 GB, free: 9.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.009107, allocations: 0 / 0.9903 GB, free: 9.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.009146, allocations: 11.94 kB / 0.9903 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.009147, allocations: 0 / 0.9903 GB, free: 9.238 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.009158, allocations: 15.98 kB / 0.9903 GB, free: 9.223 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.009159, allocations: 0 / 0.9903 GB, free: 9.223 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.009159, allocations: 0 / 0.9903 GB, free: 9.223 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.009409, allocations: 282 kB / 0.9906 GB, free: 8.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.009422, allocations: 11.91 kB / 0.9906 GB, free: 8.898 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.009441, allocations: 11.98 kB / 0.9906 GB, free: 8.887 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.009481, allocations: 8 kB / 0.9906 GB, free: 8.879 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.00953, allocations: 15.92 kB / 0.9907 GB, free: 8.863 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.009534, allocations: 0 / 0.9907 GB, free: 8.863 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.009602, allocations: 140.3 kB / 0.9908 GB, free: 8.727 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.009602, allocations: 4 kB / 0.9908 GB, free: 8.723 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001526/0.009755, allocations: 24 kB / 0.9908 GB, free: 8.699 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 7.32e-05/0.009828, allocations: 107.3 kB / 0.9909 GB, free: 8.582 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.01005, allocations: 295.7 kB / 0.9912 GB, free: 8.25 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01005, allocations: 0.625 kB / 0.9912 GB, free: 8.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.332e-05/0.01013, allocations: 125.1 kB / 0.9913 GB, free: 8.109 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.01028, allocations: 19.94 kB / 0.9913 GB, free: 8.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.01069, allocations: 337.4 kB / 0.9917 GB, free: 7.723 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.371e-05/0.01075, allocations: 102.3 kB / 0.9918 GB, free: 7.598 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.01078, allocations: 20.5 kB / 0.9918 GB, free: 7.578 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.01078, allocations: 0 / 0.9918 GB, free: 7.578 MB / 0.948 GB Notification: Performance of Templates: time 0.002175/0.01296, allocations: 1.773 MB / 0.9935 GB, free: 5.812 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.5787841295823455]