Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002029/0.002029, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001898/0.001898, allocations: 165.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.605/1.605, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.887/2.887, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.9509 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.621e-05/3.839e-05, allocations: 6.219 kB / 0.9509 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.006219/0.006257, allocations: 2.301 MB / 0.9532 GB, free: 9.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.008505, allocations: 0.8103 MB / 0.954 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.008735, allocations: 7.938 kB / 0.954 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008857/0.009621, allocations: 143.3 kB / 0.9541 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.009961, allocations: 71.53 kB / 0.9542 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.0103, allocations: 59.8 kB / 0.9542 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.01071, allocations: 163.4 kB / 0.9544 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.01106, allocations: 93.08 kB / 0.9545 GB, free: 8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.01136, allocations: 91.73 kB / 0.9546 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.01161, allocations: 55.86 kB / 0.9546 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.01165, allocations: 16 kB / 0.9546 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.01185, allocations: 59.81 kB / 0.9547 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/0.01193, allocations: 39.78 kB / 0.9547 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.01204, allocations: 43.91 kB / 0.9548 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.0126, allocations: 187.4 kB / 0.9549 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.0126, allocations: 0 / 0.9549 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.0126, allocations: 0 / 0.9549 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.01261, allocations: 0 / 0.9549 GB, free: 7.516 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.001067/0.01368, allocations: 425.2 kB / 0.9554 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.01372, allocations: 8.031 kB / 0.9554 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004068/0.01413, allocations: 40.83 kB / 0.9554 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.01453, allocations: 162 kB / 0.9556 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.01463, allocations: 60.16 kB / 0.9556 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.01467, allocations: 12.38 kB / 0.9556 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.01509, allocations: 179.7 kB / 0.9558 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01511, allocations: 0 / 0.9558 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.01513, allocations: 4 kB / 0.9558 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.01516, allocations: 8 kB / 0.9558 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.01544, allocations: 121.6 kB / 0.9559 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.0166, allocations: 0.5582 MB / 0.9565 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.01691, allocations: 80.25 kB / 0.9565 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.01702, allocations: 58.55 kB / 0.9566 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.01704, allocations: 4 kB / 0.9566 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.01732, allocations: 168.5 kB / 0.9568 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.01732, allocations: 4 kB / 0.9568 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0005501/0.01787, allocations: 222.9 kB / 0.957 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.01799, allocations: 136.4 kB / 0.9571 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.01823, allocations: 186.9 kB / 0.9573 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.01827, allocations: 33.64 kB / 0.9573 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.01842, allocations: 143.7 kB / 0.9575 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.01847, allocations: 27.78 kB / 0.9575 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.064e-05/0.01856, allocations: 33.72 kB / 0.9575 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.01876, allocations: 322.8 kB / 0.9578 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.0189, allocations: 95.38 kB / 0.9579 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.01913, allocations: 168.8 kB / 0.9581 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.01948, allocations: 238.3 kB / 0.9583 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.01949, allocations: 4 kB / 0.9583 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005419/0.02003, allocations: 300.1 kB / 0.9586 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/0.02013, allocations: 63.39 kB / 0.9587 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.02014, allocations: 4 kB / 0.9587 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.02017, allocations: 4.312 kB / 0.9587 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.02031, allocations: 35.92 kB / 0.9587 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.02033, allocations: 7.938 kB / 0.9587 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.02052, allocations: 23.88 kB / 0.9587 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.02054, allocations: 8.047 kB / 0.9587 GB, free: 3.191 MB / 0.8575 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.0002309/0.02077, allocations: 170.5 kB / 0.9589 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.794e-05/0.02081, allocations: 15.91 kB / 0.9589 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.02085, allocations: 13.47 kB / 0.9589 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02086, allocations: 0 / 0.9589 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.02086, allocations: 7.938 kB / 0.9589 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.02087, allocations: 0 / 0.9589 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.0211, allocations: 149.3 kB / 0.9591 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.02111, allocations: 7.938 kB / 0.9591 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.34e-05/0.0212, allocations: 8 kB / 0.9591 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.0212, allocations: 0 / 0.9591 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.02122, allocations: 0 / 0.9591 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.02122, allocations: 0 / 0.9591 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.02123, allocations: 4 kB / 0.9591 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.02178, allocations: 290.3 kB / 0.9594 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.02181, allocations: 19.94 kB / 0.9594 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.02184, allocations: 0 / 0.9594 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.02193, allocations: 15.92 kB / 0.9594 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.02201, allocations: 15.92 kB / 0.9594 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.02203, allocations: 4 kB / 0.9594 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001445/0.02217, allocations: 135.2 kB / 0.9596 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.02217, allocations: 0 / 0.9596 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002854/0.02246, allocations: 32 kB / 0.9596 GB, free: 2.246 MB / 0.8575 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.0001548/0.02261, allocations: 99.19 kB / 0.9597 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.02307, allocations: 303.7 kB / 0.96 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02307, allocations: 0 / 0.96 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.02324, allocations: 121.1 kB / 0.9601 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.02352, allocations: 22.06 kB / 0.9601 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007727/0.02429, allocations: 307.9 kB / 0.9604 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.02442, allocations: 110.1 kB / 0.9605 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.185e-05/0.0245, allocations: 24.42 kB / 0.9605 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.02455, allocations: 12.5 kB / 0.9605 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/0.02455, allocations: 3.938 kB / 0.9605 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of Templates: time 0.006192/0.03074, allocations: 1.472 MB / 0.962 GB, free: 15.7 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.990353159606457]