Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001777/0.001778, allocations: 112.1 kB / 17.08 MB, free: 6.012 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.002064/0.002064, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.506/1.506, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.966/2.966, allocations: 489.3 MB / 0.7687 GB, free: 3.82 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: 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_latest_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_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 59.91 kB / 1.103 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 163.8 MB / 1.263 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00369/1.033, allocations: 2.316 MB / 1.265 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001337/1.034, allocations: 0.7859 MB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/1.034, allocations: 2.688 kB / 1.266 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005965/1.035, allocations: 150.9 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002195/1.035, allocations: 65.42 kB / 1.266 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/1.035, allocations: 55.55 kB / 1.266 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/1.036, allocations: 164.1 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/1.036, allocations: 99.08 kB / 1.266 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/1.036, allocations: 62.02 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/1.036, allocations: 76.97 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/1.036, allocations: 11.38 kB / 1.266 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/1.036, allocations: 49.94 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/1.037, allocations: 34.3 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/1.037, allocations: 68.98 kB / 1.266 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003697/1.037, allocations: 165 kB / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.037, allocations: 0.7812 kB / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.037, allocations: 0 / 1.267 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.162e-06/1.037, allocations: 4 kB / 1.267 GB, free: 5.418 MB / 0.9981 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.000784/1.038, allocations: 493 kB / 1.267 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.038, allocations: 9.469 kB / 1.267 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002929/1.038, allocations: 30.05 kB / 1.267 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/1.038, allocations: 217.9 kB / 1.267 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/1.039, allocations: 36.56 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/1.039, allocations: 15.84 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/1.039, allocations: 156.5 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/1.039, allocations: 0.9375 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/1.039, allocations: 1.406 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/1.039, allocations: 5.234 kB / 1.267 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/1.039, allocations: 90.78 kB / 1.268 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009791/1.04, allocations: 0.642 MB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/1.041, allocations: 60.34 kB / 1.268 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/1.041, allocations: 28.78 kB / 1.268 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/1.041, allocations: 5.188 kB / 1.268 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/1.041, allocations: 141.3 kB / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/1.041, allocations: 0 / 1.268 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004804/1.042, allocations: 161.4 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/1.042, allocations: 136.9 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/1.042, allocations: 187.3 kB / 1.269 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/1.042, allocations: 31.17 kB / 1.269 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/1.042, allocations: 147.8 kB / 1.269 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/1.042, allocations: 13.86 kB / 1.269 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/1.042, allocations: 41.97 kB / 1.269 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.232e-05/1.042, allocations: 327 kB / 1.269 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/1.042, allocations: 34.75 kB / 1.269 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/1.042, allocations: 119.3 kB / 1.27 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/1.043, allocations: 228.7 kB / 1.27 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.043, allocations: 1.375 kB / 1.27 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004899/1.043, allocations: 246.7 kB / 1.27 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/1.043, allocations: 61.53 kB / 1.27 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.043, allocations: 10.47 kB / 1.27 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/1.043, allocations: 3.438 kB / 1.27 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/1.044, allocations: 30.56 kB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.044, allocations: 5.344 kB / 1.27 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/1.044, allocations: 30.27 kB / 1.27 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/1.044, allocations: 6.906 kB / 1.27 GB, free: 2.281 MB / 0.9981 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.000133/1.044, allocations: 173.9 kB / 1.27 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/1.044, allocations: 14.66 kB / 1.27 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.012e-05/1.044, allocations: 19.69 kB / 1.27 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/1.044, allocations: 1.188 kB / 1.27 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.044, allocations: 0.6562 kB / 1.27 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.044, allocations: 4 kB / 1.27 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/1.044, allocations: 209.8 kB / 1.271 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.044, allocations: 0.75 kB / 1.271 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/1.044, allocations: 9.797 kB / 1.271 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.044, allocations: 1.453 kB / 1.271 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/1.044, allocations: 6.453 kB / 1.271 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.044, allocations: 0.6562 kB / 1.271 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.044, allocations: 1.562 kB / 1.271 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/1.045, allocations: 223.2 kB / 1.271 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/1.045, allocations: 89.84 kB / 1.271 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/1.045, allocations: 10.73 kB / 1.271 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/1.045, allocations: 14.06 kB / 1.271 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/1.045, allocations: 9.906 kB / 1.271 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/1.045, allocations: 2.906 kB / 1.271 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001362/1.045, allocations: 135.8 kB / 1.271 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.045, allocations: 0.75 kB / 1.271 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003871/1.046, allocations: 34.89 kB / 1.271 GB, free: 1.504 MB / 0.9981 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.0001173/1.046, allocations: 102.3 kB / 1.271 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004063/1.046, allocations: 219.1 kB / 1.271 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.046, allocations: 0.9375 kB / 1.271 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/1.047, allocations: 103.9 kB / 1.271 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/1.047, allocations: 19.58 kB / 1.271 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007396/1.048, allocations: 322.6 kB / 1.272 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/1.048, allocations: 0.7144 MB / 1.272 GB, free: 236 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/1.048, allocations: 18.59 kB / 1.272 GB, free: 224 kB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.048, allocations: 0 / 1.272 GB, free: 224 kB / 0.9981 GB Notification: Performance of Templates: time 0.005217/1.053, allocations: 1.706 MB / 1.274 GB, free: 60 kB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.889204909093678]