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.001872/0.001872, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001707/0.001707, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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 1.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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.758/2.758, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 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 1.593e-06/1.593e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.61e-05/3.769e-05, allocations: 8.5 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.005464/0.005501, allocations: 2.313 MB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.007618, allocations: 0.8139 MB / 0.7894 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/0.007786, allocations: 3.938 kB / 0.7894 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008384/0.008624, allocations: 143.3 kB / 0.7895 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.008938, allocations: 73.06 kB / 0.7896 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.009242, allocations: 60.88 kB / 0.7896 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.009606, allocations: 163.4 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.009909, allocations: 81.12 kB / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.0102, allocations: 100.3 kB / 0.79 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.01041, allocations: 61.19 kB / 0.79 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.01045, allocations: 12 kB / 0.79 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.01061, allocations: 51.89 kB / 0.7901 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.01069, allocations: 43.83 kB / 0.7901 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.01079, allocations: 41.02 kB / 0.7902 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.0112, allocations: 187.4 kB / 0.7904 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.0112, allocations: 0 / 0.7904 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.173e-06/0.0112, allocations: 1.031 kB / 0.7904 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.01121, allocations: 0 / 0.7904 GB, free: 8.727 MB / 0.7448 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.0009962/0.0122, allocations: 426.3 kB / 0.7908 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.01225, allocations: 12.03 kB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.01267, allocations: 54.45 kB / 0.7908 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.01299, allocations: 150.2 kB / 0.791 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.01308, allocations: 64.16 kB / 0.791 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.01314, allocations: 20.31 kB / 0.791 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.01353, allocations: 171.4 kB / 0.7912 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01354, allocations: 4 kB / 0.7912 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.01356, allocations: 4 kB / 0.7912 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.01359, allocations: 7.938 kB / 0.7912 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002674/0.01385, allocations: 120.5 kB / 0.7913 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.01495, allocations: 0.561 MB / 0.7919 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.01527, allocations: 92.12 kB / 0.792 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.0154, allocations: 54.61 kB / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.01542, allocations: 0 / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.01572, allocations: 172.5 kB / 0.7922 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.01572, allocations: 0.7188 kB / 0.7922 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0005751/0.01629, allocations: 231.5 kB / 0.7924 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.01643, allocations: 141.8 kB / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.01669, allocations: 191.7 kB / 0.7927 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.01672, allocations: 25.7 kB / 0.7928 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.01687, allocations: 135.8 kB / 0.7929 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.01691, allocations: 24.38 kB / 0.7929 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/0.017, allocations: 42.95 kB / 0.793 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.0172, allocations: 326.8 kB / 0.7933 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.01735, allocations: 91.39 kB / 0.7933 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.01757, allocations: 167.5 kB / 0.7935 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.01794, allocations: 233.3 kB / 0.7937 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.946e-06/0.01795, allocations: 5.188 kB / 0.7937 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000522/0.01847, allocations: 304.3 kB / 0.794 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.525e-05/0.01855, allocations: 67.39 kB / 0.7941 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.01856, allocations: 8 kB / 0.7941 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.01859, allocations: 4 kB / 0.7941 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.01873, allocations: 35.86 kB / 0.7941 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.01874, allocations: 8.062 kB / 0.7941 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.01892, allocations: 28.45 kB / 0.7942 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.01894, allocations: 8 kB / 0.7942 GB, free: 4.387 MB / 0.7448 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.0001891/0.01912, allocations: 173.6 kB / 0.7943 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.01917, allocations: 15.95 kB / 0.7944 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.0192, allocations: 13.47 kB / 0.7944 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01921, allocations: 0 / 0.7944 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.01921, allocations: 5.719 kB / 0.7944 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.01922, allocations: 0 / 0.7944 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.01943, allocations: 157.2 kB / 0.7945 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01943, allocations: 0 / 0.7945 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.135e-05/0.01952, allocations: 11.94 kB / 0.7945 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01953, allocations: 0.8125 kB / 0.7945 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.01954, allocations: 0 / 0.7945 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01954, allocations: 0.5312 kB / 0.7945 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01954, allocations: 7.984 kB / 0.7945 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.02009, allocations: 278.7 kB / 0.7948 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.02013, allocations: 16.75 kB / 0.7948 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.02015, allocations: 0 / 0.7948 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.02026, allocations: 12.92 kB / 0.7948 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.02033, allocations: 15.92 kB / 0.7949 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.02034, allocations: 5.344 kB / 0.7949 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001426/0.02049, allocations: 136.3 kB / 0.795 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.02049, allocations: 0 / 0.795 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002805/0.02077, allocations: 28.81 kB / 0.795 GB, free: 3.449 MB / 0.7448 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.0001484/0.02092, allocations: 105.2 kB / 0.7951 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004566/0.02137, allocations: 292.8 kB / 0.7954 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.02138, allocations: 8 kB / 0.7954 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.02156, allocations: 121 kB / 0.7955 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.02184, allocations: 17.38 kB / 0.7955 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007914/0.02263, allocations: 316.1 kB / 0.7958 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.02275, allocations: 100.5 kB / 0.7959 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.316e-05/0.02284, allocations: 18.39 kB / 0.796 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.316e-05/0.02288, allocations: 17.16 kB / 0.796 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.02288, allocations: 0 / 0.796 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of Templates: time 0.005743/0.02862, allocations: 1.487 MB / 0.7974 GB, free: 0.9219 MB / 0.7448 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.16339807107579]