Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 118 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 59.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8865/0.8883, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003332/0.8917, allocations: 2.299 MB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.893, allocations: 0.7851 MB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.836e-05/0.8931, allocations: 3.094 kB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.8938, allocations: 147.3 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.894, allocations: 59.81 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.8941, allocations: 51.92 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.8944, allocations: 165.3 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.8947, allocations: 98.66 kB / 1.092 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.8949, allocations: 71.41 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.8951, allocations: 72.33 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.8951, allocations: 11.31 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.8953, allocations: 52.64 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.574e-05/0.8953, allocations: 35.62 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.79e-05/0.8954, allocations: 71.91 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.8957, allocations: 176.8 kB / 1.093 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8958, allocations: 0 / 1.093 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8958, allocations: 0.6562 kB / 1.093 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8958, allocations: 0 / 1.093 GB, free: 2.934 MB / 0.8575 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.0006907/0.8965, allocations: 0.4888 MB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.8965, allocations: 8.75 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.8967, allocations: 22.67 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.897, allocations: 213.9 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.897, allocations: 37.2 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.8971, allocations: 15.84 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.8973, allocations: 147.4 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.8974, allocations: 0.7812 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.8974, allocations: 9.766 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.8974, allocations: 5.234 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.8976, allocations: 90.98 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.8984, allocations: 0.6418 MB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.8986, allocations: 56.27 kB / 1.094 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.8987, allocations: 28.72 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.8987, allocations: 2.141 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.8989, allocations: 144.9 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.8989, allocations: 0 / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003888/0.8993, allocations: 161.6 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.8994, allocations: 136.2 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.8996, allocations: 188 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.8996, allocations: 27.17 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.8997, allocations: 139.3 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.8997, allocations: 29.39 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.8998, allocations: 39.19 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.8999, allocations: 326.2 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.9, allocations: 38.89 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.9001, allocations: 115.1 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.9004, allocations: 232.7 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9004, allocations: 0.75 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004692/0.9009, allocations: 243.7 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.9009, allocations: 64.86 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.9009, allocations: 2.219 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.901, allocations: 7.969 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.9011, allocations: 31.3 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.9011, allocations: 4.516 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.9013, allocations: 27 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.9013, allocations: 11.25 kB / 1.096 GB, free: 15.8 MB / 0.8731 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.0001501/0.9015, allocations: 161.2 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.9015, allocations: 15.16 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.9016, allocations: 19.3 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.9016, allocations: 0.9844 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9016, allocations: 0.75 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.9016, allocations: 85.14 kB / 1.096 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.9017, allocations: 6.531 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.941e-05/0.9018, allocations: 14.52 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.9018, allocations: 10.17 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000402/0.9023, allocations: 282.5 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004681/0.9027, allocations: 365.5 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001095/0.9028, allocations: 47.8 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001458/0.903, allocations: 130.9 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of Backend: time 4.31e-07/0.903, allocations: 1.312 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00068/0.9037, allocations: 306.8 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0007787/0.9045, allocations: 0.783 MB / 1.098 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.005457/0.91, allocations: 1.738 MB / 1.1 GB, free: 13.75 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches