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.001325/0.001325, allocations: 81.95 kB / 21.47 MB, free: 3.035 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.001003/0.001003, allocations: 169.7 kB / 24.87 MB, free: 8.883 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 0.9408/0.9408, allocations: 177.2 MB / 205.3 MB, free: 5.488 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.729/1.729, allocations: 359 MB / 0.6063 GB, free: 10.89 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.713e-06/1.713e-06, allocations: 0 / 0.7882 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423e-05/1.594e-05, allocations: 8.922 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002391/0.002407, allocations: 2.123 MB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.003185, allocations: 0.6839 MB / 0.791 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.003263, allocations: 9 kB / 0.791 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.003617, allocations: 95.5 kB / 0.7911 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.00374, allocations: 69.11 kB / 0.7912 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.00385, allocations: 63.73 kB / 0.7912 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.00402, allocations: 172.7 kB / 0.7914 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.004177, allocations: 73.19 kB / 0.7915 GB, free: 9 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.004307, allocations: 99.72 kB / 0.7916 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.004432, allocations: 69.84 kB / 0.7916 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.004451, allocations: 8 kB / 0.7916 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.368e-05/0.004524, allocations: 55.83 kB / 0.7917 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.859e-05/0.004573, allocations: 43.89 kB / 0.7917 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.004618, allocations: 43.86 kB / 0.7918 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.004781, allocations: 127.6 kB / 0.7919 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004782, allocations: 2.156 kB / 0.7919 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.82e-07/0.004783, allocations: 4 kB / 0.7919 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.004787, allocations: 0 / 0.7919 GB, free: 8.559 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.0004408/0.005228, allocations: 0.5151 MB / 0.7924 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.005254, allocations: 11.97 kB / 0.7924 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.005443, allocations: 58.31 kB / 0.7925 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.005587, allocations: 156.9 kB / 0.7926 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.005627, allocations: 60.81 kB / 0.7927 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.005644, allocations: 8.375 kB / 0.7927 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.005797, allocations: 170.2 kB / 0.7928 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.005804, allocations: 0 / 0.7928 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.005815, allocations: 7.984 kB / 0.7928 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.005829, allocations: 5.156 kB / 0.7929 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.005888, allocations: 63.3 kB / 0.7929 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.00638, allocations: 0.6891 MB / 0.7936 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.006503, allocations: 68.75 kB / 0.7937 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/0.006534, allocations: 51.19 kB / 0.7937 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.006544, allocations: 3.938 kB / 0.7937 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.006666, allocations: 166.1 kB / 0.7939 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.006668, allocations: 0 / 0.7939 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001848/0.006852, allocations: 187.8 kB / 0.794 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.006899, allocations: 136.5 kB / 0.7942 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.007008, allocations: 241.6 kB / 0.7944 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.00702, allocations: 26.3 kB / 0.7944 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.197e-05/0.007092, allocations: 196.3 kB / 0.7946 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.007107, allocations: 15.89 kB / 0.7946 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.007152, allocations: 47.31 kB / 0.7947 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.007268, allocations: 0.5001 MB / 0.7952 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.007308, allocations: 67.39 kB / 0.7952 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.841e-05/0.007386, allocations: 176.1 kB / 0.7954 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.007503, allocations: 222.7 kB / 0.7956 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007505, allocations: 1.656 kB / 0.7956 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000182/0.007687, allocations: 265 kB / 0.7959 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.007717, allocations: 60.25 kB / 0.7959 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.007721, allocations: 0 / 0.7959 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.577e-06/0.00773, allocations: 5.281 kB / 0.7959 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.007804, allocations: 35.86 kB / 0.796 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.007808, allocations: 7.938 kB / 0.796 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.007875, allocations: 32.72 kB / 0.796 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.007883, allocations: 4.875 kB / 0.796 GB, free: 3.859 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 8.429e-05/0.007968, allocations: 206.1 kB / 0.7962 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.007986, allocations: 25.47 kB / 0.7962 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.008006, allocations: 13.47 kB / 0.7962 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008008, allocations: 0 / 0.7962 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.00801, allocations: 3.938 kB / 0.7962 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.008012, allocations: 1.188 kB / 0.7962 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.758e-05/0.00809, allocations: 125.2 kB / 0.7964 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.008092, allocations: 3.984 kB / 0.7964 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.008127, allocations: 11.16 kB / 0.7964 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.008128, allocations: 0 / 0.7964 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.008135, allocations: 0 / 0.7964 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.008135, allocations: 4 kB / 0.7964 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.008136, allocations: 0 / 0.7964 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.008335, allocations: 249.6 kB / 0.7966 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.00835, allocations: 11.89 kB / 0.7966 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.008366, allocations: 8 kB / 0.7966 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.008402, allocations: 4.5 kB / 0.7966 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.008438, allocations: 9.016 kB / 0.7967 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.008444, allocations: 4 kB / 0.7967 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.008502, allocations: 165.5 kB / 0.7968 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008503, allocations: 0.5312 kB / 0.7968 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001473/0.00865, allocations: 37.64 kB / 0.7968 GB, free: 2.922 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 6.373e-05/0.008714, allocations: 99.19 kB / 0.7969 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.008881, allocations: 277.3 kB / 0.7972 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.42e-07/0.008882, allocations: 0 / 0.7972 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.93e-05/0.008942, allocations: 120.8 kB / 0.7973 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.0001443/0.009086, allocations: 20.88 kB / 0.7973 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.009555, allocations: 315.9 kB / 0.7976 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.009587, allocations: 67.34 kB / 0.7977 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.009622, allocations: 14.95 kB / 0.7977 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.009699, allocations: 94.19 kB / 0.7978 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.009699, allocations: 0 / 0.7978 GB, free: 1.801 MB / 0.7448 GB Notification: Performance of Templates: time 0.002958/0.01266, allocations: 1.635 MB / 0.7994 GB, free: 216 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: 4.821067163255066]