Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.888/1.888, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 187.3 kB / 393.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.679/1.679, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008063/0.0008067, allocations: 94.89 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 11.98 kB / 0.9224 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.6935, allocations: 121.3 MB / 1.041 GB, free: 58.44 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002698/0.6963, allocations: 1.987 MB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.6976, allocations: 1.11 MB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.312e-05/0.6977, allocations: 0.5938 kB / 1.044 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.6978, allocations: 22.11 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.6981, allocations: 55.78 kB / 1.044 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/0.6983, allocations: 49.44 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.6985, allocations: 193.5 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002646/0.6988, allocations: 195 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.699, allocations: 59.92 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.6991, allocations: 64.33 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.6991, allocations: 4.281 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.6993, allocations: 60.53 kB / 1.045 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.765e-05/0.6994, allocations: 30.5 kB / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.573e-05/0.6994, allocations: 88.31 kB / 1.045 GB, free: 55.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.6997, allocations: 167.6 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.6997, allocations: 0 / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6997, allocations: 0 / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.6997, allocations: 0 / 1.045 GB, free: 55.66 MB / 0.698 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.000655/0.7004, allocations: 473.8 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7004, allocations: 8.531 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.7006, allocations: 26.75 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.7009, allocations: 211.7 kB / 1.046 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.7009, allocations: 37.11 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.701, allocations: 14.41 kB / 1.046 GB, free: 54.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.7012, allocations: 148 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7013, allocations: 0 / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.7013, allocations: 15.86 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.7013, allocations: 4.328 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.7015, allocations: 89.45 kB / 1.046 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.7023, allocations: 0.6423 MB / 1.046 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.7026, allocations: 61.31 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.006e-05/0.7027, allocations: 30.33 kB / 1.047 GB, free: 54.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.7027, allocations: 0.5625 kB / 1.047 GB, free: 54.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.7029, allocations: 148.8 kB / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.7029, allocations: 0 / 1.047 GB, free: 54.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004059/0.7034, allocations: 168.6 kB / 1.047 GB, free: 53.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.7034, allocations: 136.5 kB / 1.047 GB, free: 53.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.7036, allocations: 181.7 kB / 1.047 GB, free: 53.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.7036, allocations: 29.55 kB / 1.047 GB, free: 53.65 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.7037, allocations: 138.5 kB / 1.047 GB, free: 53.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.7037, allocations: 27.41 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.7037, allocations: 1 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.7038, allocations: 325.1 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.461e-05/0.7039, allocations: 37.73 kB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.7041, allocations: 121.8 kB / 1.048 GB, free: 53.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.7043, allocations: 236.3 kB / 1.048 GB, free: 52.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7043, allocations: 2.875 kB / 1.048 GB, free: 52.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003277/0.7046, allocations: 247.5 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.7047, allocations: 61.06 kB / 1.048 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7047, allocations: 11.23 kB / 1.048 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.7047, allocations: 3.719 kB / 1.048 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.7048, allocations: 33.14 kB / 1.048 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.7049, allocations: 3.625 kB / 1.048 GB, free: 52.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.705, allocations: 30.98 kB / 1.048 GB, free: 52.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.705, allocations: 7.469 kB / 1.048 GB, free: 52.59 MB / 0.698 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 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * 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.0001209/0.7052, allocations: 174.9 kB / 1.049 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.7052, allocations: 10.72 kB / 1.049 GB, free: 52.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.7052, allocations: 21.77 kB / 1.049 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7052, allocations: 4 kB / 1.049 GB, free: 52.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.7052, allocations: 3.938 kB / 1.049 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7052, allocations: 0 / 1.049 GB, free: 52.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.7054, allocations: 207.8 kB / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.7054, allocations: 0.5156 kB / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.7055, allocations: 15.77 kB / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.7055, allocations: 0 / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.7056, allocations: 9.031 kB / 1.049 GB, free: 52.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7056, allocations: 1.25 kB / 1.049 GB, free: 52.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7056, allocations: 0 / 1.049 GB, free: 52.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.7059, allocations: 221.3 kB / 1.049 GB, free: 52.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.706, allocations: 90.25 kB / 1.049 GB, free: 51.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/0.7061, allocations: 18.62 kB / 1.049 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.436e-05/0.7062, allocations: 12.89 kB / 1.049 GB, free: 51.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.7062, allocations: 10.42 kB / 1.049 GB, free: 51.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.7062, allocations: 4.156 kB / 1.049 GB, free: 51.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.469e-05/0.7063, allocations: 136 kB / 1.049 GB, free: 51.83 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7063, allocations: 0 / 1.049 GB, free: 51.83 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00023/0.7066, allocations: 31.06 kB / 1.049 GB, free: 51.82 MB / 0.698 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.000105/0.7067, allocations: 115 kB / 1.049 GB, free: 51.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.707, allocations: 218.7 kB / 1.05 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.707, allocations: 0 / 1.05 GB, free: 51.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.7071, allocations: 104.7 kB / 1.05 GB, free: 51.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.7074, allocations: 20.88 kB / 1.05 GB, free: 51.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.7079, allocations: 343.7 kB / 1.05 GB, free: 51.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.7081, allocations: 0.7152 MB / 1.051 GB, free: 50.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.122e-05/0.7082, allocations: 29.06 kB / 1.051 GB, free: 50.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.7082, allocations: 17.19 kB / 1.051 GB, free: 50.53 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.7083, allocations: 0 / 1.051 GB, free: 50.53 MB / 0.698 GB Notification: Performance of Templates: time 0.003807/0.7121, allocations: 1.227 MB / 1.052 GB, free: 50.43 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (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=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)