Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001988/0.001988, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.00255/0.00255, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.659/1.659, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.916/2.916, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 71.89 kB / 0.9819 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255/1.257, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004048/1.261, allocations: 2.314 MB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001366/1.262, allocations: 0.8197 MB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/1.262, allocations: 6.656 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000592/1.263, allocations: 147 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001905/1.263, allocations: 69.12 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/1.263, allocations: 62.47 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/1.263, allocations: 169.7 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/1.264, allocations: 79.5 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/1.264, allocations: 71.38 kB / 1.158 GB, free: 30.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/1.264, allocations: 65.69 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/1.264, allocations: 10.38 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/1.264, allocations: 48.7 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/1.264, allocations: 44.92 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/1.264, allocations: 53.06 kB / 1.158 GB, free: 30.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/1.265, allocations: 180.2 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/1.265, allocations: 0 / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.673e-06/1.265, allocations: 4 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.961e-06/1.265, allocations: 2.562 kB / 1.158 GB, free: 30.83 MB / 1.076 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.0006769/1.265, allocations: 427.5 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.265, allocations: 10.38 kB / 1.158 GB, free: 30.43 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/1.266, allocations: 39.86 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/1.266, allocations: 162.2 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/1.266, allocations: 65.66 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/1.266, allocations: 8.812 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/1.266, allocations: 184.6 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.266, allocations: 3.984 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/1.266, allocations: 6.844 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/1.266, allocations: 5.75 kB / 1.159 GB, free: 30.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/1.266, allocations: 113.3 kB / 1.159 GB, free: 30 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/1.267, allocations: 0.5544 MB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/1.267, allocations: 85.84 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/1.268, allocations: 61.14 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/1.268, allocations: 2.906 kB / 1.16 GB, free: 29.4 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/1.268, allocations: 170.5 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/1.268, allocations: 0 / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0003646/1.268, allocations: 229.8 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/1.268, allocations: 131.3 kB / 1.16 GB, free: 28.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/1.268, allocations: 194.5 kB / 1.16 GB, free: 28.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/1.268, allocations: 29.7 kB / 1.16 GB, free: 28.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/1.268, allocations: 146.6 kB / 1.16 GB, free: 28.61 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/1.268, allocations: 24.53 kB / 1.16 GB, free: 28.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/1.268, allocations: 39.06 kB / 1.16 GB, free: 28.57 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/1.269, allocations: 320.7 kB / 1.161 GB, free: 28.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/1.269, allocations: 96.19 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/1.269, allocations: 162.3 kB / 1.161 GB, free: 28.01 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/1.269, allocations: 233 kB / 1.161 GB, free: 27.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.269, allocations: 0 / 1.161 GB, free: 27.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003128/1.269, allocations: 307.7 kB / 1.162 GB, free: 27.57 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.615e-05/1.269, allocations: 67.42 kB / 1.162 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.269, allocations: 2.906 kB / 1.162 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.269, allocations: 2.906 kB / 1.162 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/1.269, allocations: 34.47 kB / 1.162 GB, free: 27.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1.269, allocations: 2.844 kB / 1.162 GB, free: 27.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/1.27, allocations: 23 kB / 1.162 GB, free: 27.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/1.27, allocations: 6.125 kB / 1.162 GB, free: 27.48 MB / 1.076 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 9.92e-05/1.27, allocations: 176.1 kB / 1.162 GB, free: 27.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/1.27, allocations: 17.53 kB / 1.162 GB, free: 27.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/1.27, allocations: 15.7 kB / 1.162 GB, free: 27.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/1.27, allocations: 6.719 kB / 1.162 GB, free: 27.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/1.27, allocations: 0 / 1.162 GB, free: 27.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.27, allocations: 0 / 1.162 GB, free: 27.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/1.27, allocations: 145.4 kB / 1.162 GB, free: 27.15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/1.27, allocations: 0 / 1.162 GB, free: 27.15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/1.27, allocations: 12.3 kB / 1.162 GB, free: 27.15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.27, allocations: 0 / 1.162 GB, free: 27.15 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/1.27, allocations: 10.5 kB / 1.162 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.27, allocations: 4 kB / 1.162 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/1.27, allocations: 0 / 1.162 GB, free: 27.14 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/1.27, allocations: 287.2 kB / 1.162 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/1.27, allocations: 6.828 kB / 1.162 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/1.27, allocations: 10.69 kB / 1.162 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/1.27, allocations: 12.22 kB / 1.162 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/1.27, allocations: 10.28 kB / 1.162 GB, free: 26.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/1.27, allocations: 2.875 kB / 1.162 GB, free: 26.91 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.756e-05/1.271, allocations: 135.2 kB / 1.163 GB, free: 26.81 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.271, allocations: 0 / 1.163 GB, free: 26.81 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002399/1.271, allocations: 34.36 kB / 1.163 GB, free: 26.8 MB / 1.076 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 7.891e-05/1.271, allocations: 101 kB / 1.163 GB, free: 26.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002978/1.271, allocations: 303.2 kB / 1.163 GB, free: 26.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.271, allocations: 0.625 kB / 1.163 GB, free: 26.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/1.271, allocations: 122.6 kB / 1.163 GB, free: 26.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/1.272, allocations: 22.8 kB / 1.163 GB, free: 26.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/1.272, allocations: 338.5 kB / 1.163 GB, free: 26.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/1.272, allocations: 100.8 kB / 1.163 GB, free: 26.01 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.377e-05/1.272, allocations: 23.11 kB / 1.163 GB, free: 26 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/1.272, allocations: 14.19 kB / 1.164 GB, free: 26 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.272, allocations: 0 / 1.164 GB, free: 26 MB / 1.076 GB Notification: Performance of Templates: time 0.00477/1.277, allocations: 1.464 MB / 1.165 GB, free: 25.81 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.11580687505193]