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.0008493/0.0008493, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009231/0.0009231, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9791/0.9791, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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 1.795/1.795, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.263e-06/1.263e-06, allocations: 0 / 0.787 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.584e-05, allocations: 8.844 kB / 0.787 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002751/0.002767, allocations: 2.378 MB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.00392, allocations: 0.8435 MB / 0.7902 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.00405, allocations: 5.094 kB / 0.7902 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.004556, allocations: 139.4 kB / 0.7903 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.004729, allocations: 81.72 kB / 0.7904 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.004902, allocations: 63.75 kB / 0.7905 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.005114, allocations: 163.4 kB / 0.7906 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.005323, allocations: 81.17 kB / 0.7907 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.00549, allocations: 105.6 kB / 0.7908 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.005634, allocations: 59.8 kB / 0.7909 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.005656, allocations: 12 kB / 0.7909 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-05/0.005752, allocations: 47.89 kB / 0.7909 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.005808, allocations: 40.42 kB / 0.791 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.005874, allocations: 51.84 kB / 0.791 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.006094, allocations: 133.2 kB / 0.7911 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.006096, allocations: 3.938 kB / 0.7911 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.22e-07/0.006097, allocations: 0 / 0.7911 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.006102, allocations: 0 / 0.7911 GB, free: 8.648 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.0007099/0.006812, allocations: 0.5157 MB / 0.7916 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.006852, allocations: 9 kB / 0.7916 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.00712, allocations: 52.81 kB / 0.7917 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.007323, allocations: 162.1 kB / 0.7919 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/0.007382, allocations: 60.16 kB / 0.7919 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.00741, allocations: 9.75 kB / 0.7919 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.007645, allocations: 165.9 kB / 0.7921 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.007654, allocations: 4 kB / 0.7921 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.00767, allocations: 4 kB / 0.7921 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.007695, allocations: 9.734 kB / 0.7921 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.221e-05/0.007787, allocations: 67.11 kB / 0.7922 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.008379, allocations: 0.6877 MB / 0.7928 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.008538, allocations: 77.83 kB / 0.7929 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.413e-05/0.008582, allocations: 53.38 kB / 0.793 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.008595, allocations: 2.969 kB / 0.793 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.008748, allocations: 166.1 kB / 0.7931 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.008749, allocations: 0 / 0.7931 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002587/0.009008, allocations: 195.1 kB / 0.7933 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.009067, allocations: 144.4 kB / 0.7934 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.009209, allocations: 233.8 kB / 0.7937 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.009226, allocations: 29.7 kB / 0.7937 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.757e-05/0.009313, allocations: 183 kB / 0.7939 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.009334, allocations: 23.83 kB / 0.7939 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.009385, allocations: 53.25 kB / 0.7939 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.009516, allocations: 0.4923 MB / 0.7944 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.596e-05/0.009572, allocations: 71.39 kB / 0.7945 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.8e-05/0.00967, allocations: 175.9 kB / 0.7947 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.009822, allocations: 236.7 kB / 0.7949 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.009824, allocations: 0.8438 kB / 0.7949 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002294/0.01005, allocations: 278.2 kB / 0.7952 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.01009, allocations: 65.12 kB / 0.7952 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.0101, allocations: 4.844 kB / 0.7952 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01011, allocations: 0 / 0.7952 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.299e-05/0.0102, allocations: 36.92 kB / 0.7953 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.01021, allocations: 8.062 kB / 0.7953 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.161e-05/0.01028, allocations: 25.25 kB / 0.7953 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.01029, allocations: 12 kB / 0.7953 GB, free: 3.902 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.0001014/0.01039, allocations: 194.2 kB / 0.7955 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.01041, allocations: 21.28 kB / 0.7955 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.01044, allocations: 13.45 kB / 0.7955 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01044, allocations: 4 kB / 0.7955 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.01045, allocations: 5 kB / 0.7955 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01045, allocations: 0 / 0.7955 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.01056, allocations: 152.6 kB / 0.7957 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01057, allocations: 1.094 kB / 0.7957 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.01061, allocations: 11.98 kB / 0.7957 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.01061, allocations: 0 / 0.7957 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01062, allocations: 9.125 kB / 0.7957 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.01062, allocations: 0 / 0.7957 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01062, allocations: 0 / 0.7957 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.01087, allocations: 259 kB / 0.7959 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.536e-05/0.01088, allocations: 15.89 kB / 0.796 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.0109, allocations: 0 / 0.796 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.809e-05/0.01094, allocations: 8 kB / 0.796 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.01099, allocations: 16.42 kB / 0.796 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.011, allocations: 0 / 0.796 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.206e-05/0.01107, allocations: 162.9 kB / 0.7961 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01107, allocations: 0 / 0.7961 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001739/0.01124, allocations: 39.89 kB / 0.7962 GB, free: 2.926 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 8.196e-05/0.01133, allocations: 100.3 kB / 0.7963 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.01154, allocations: 281.7 kB / 0.7965 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.01154, allocations: 6.75 kB / 0.7965 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.647e-05/0.01161, allocations: 116.8 kB / 0.7967 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.01177, allocations: 16 kB / 0.7967 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.01236, allocations: 322.7 kB / 0.797 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.609e-05/0.01239, allocations: 67.34 kB / 0.797 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.142e-05/0.01245, allocations: 22.61 kB / 0.7971 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.01248, allocations: 20.5 kB / 0.7971 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.01248, allocations: 0 / 0.7971 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of Templates: time 0.003285/0.01576, allocations: 1.478 MB / 0.7985 GB, free: 436 kB / 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.085645973915234]