Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001406/0.001406, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001482/0.001482, allocations: 181 kB / 24.09 MB, free: 420 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.9114/0.9114, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.824/1.824, allocations: 377.9 MB / 0.6239 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.687e-05, allocations: 5.125 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004834/0.004861, allocations: 3.753 MB / 0.8157 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002404/0.007264, allocations: 1.369 MB / 0.817 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.007566, allocations: 35.62 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005886/0.008155, allocations: 172.7 kB / 0.8172 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.008816, allocations: 348.2 kB / 0.8175 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.009384, allocations: 318.3 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009119/0.0103, allocations: 0.949 MB / 0.8188 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004645/0.01076, allocations: 315.1 kB / 0.8191 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006383/0.0114, allocations: 494.7 kB / 0.8195 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004811/0.01188, allocations: 332.5 kB / 0.8198 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.01194, allocations: 41.38 kB / 0.8199 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.01216, allocations: 103.8 kB / 0.82 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.01232, allocations: 191.4 kB / 0.8202 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.01252, allocations: 212.6 kB / 0.8204 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.01312, allocations: 0.5059 MB / 0.8209 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01313, allocations: 0 / 0.8209 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.292e-06/0.01313, allocations: 0 / 0.8209 GB, free: 8.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.01314, allocations: 0.5625 kB / 0.8209 GB, free: 8.34 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001046/0.01418, allocations: 0.9419 MB / 0.8218 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.01423, allocations: 13.97 kB / 0.8218 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007243/0.01495, allocations: 212.1 kB / 0.822 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.01547, allocations: 497.9 kB / 0.8225 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.01549, allocations: 29.38 kB / 0.8225 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.01554, allocations: 53.94 kB / 0.8226 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.01609, allocations: 0.8221 MB / 0.8234 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.01612, allocations: 8.125 kB / 0.8234 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.01615, allocations: 28.36 kB / 0.8234 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.391e-05/0.01621, allocations: 68.83 kB / 0.8235 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.01645, allocations: 259.9 kB / 0.8237 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.01894, allocations: 6.162 MB / 0.8297 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.01927, allocations: 254.7 kB / 0.83 GB, free: 14.54 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.0194, allocations: 75.59 kB / 0.83 GB, free: 14.46 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.01942, allocations: 9.219 kB / 0.83 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.01946, allocations: 37.39 kB / 0.8301 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 2.345e-06/0.01946, allocations: 0 / 0.8301 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.0009037/0.02036, allocations: 0.5633 MB / 0.8306 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.02039, allocations: 56.78 kB / 0.8307 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.02064, allocations: 0.4903 MB / 0.8312 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.02066, allocations: 29.7 kB / 0.8312 GB, free: 13.21 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.02083, allocations: 419.6 kB / 0.8316 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.584e-05/0.0209, allocations: 131.5 kB / 0.8317 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/0.02099, allocations: 115.9 kB / 0.8318 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.02114, allocations: 0.5462 MB / 0.8324 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.02121, allocations: 69.25 kB / 0.8324 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.02143, allocations: 434.7 kB / 0.8328 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.02179, allocations: 0.5461 MB / 0.8334 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02179, allocations: 4 kB / 0.8334 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005119/0.0223, allocations: 0.5616 MB / 0.8339 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.02232, allocations: 10.66 kB / 0.8339 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.02233, allocations: 8 kB / 0.8339 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.02258, allocations: 130.9 kB / 0.8341 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.02278, allocations: 115.8 kB / 0.8342 GB, free: 9.758 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.02471, allocations: 5.172 MB / 0.8392 GB, free: 4.242 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.02485, allocations: 20.25 kB / 0.8393 GB, free: 4.223 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.02488, allocations: 24 kB / 0.8393 GB, free: 4.199 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.025, allocations: 208.2 kB / 0.8395 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.02505, allocations: 67.62 kB / 0.8395 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.0254, allocations: 345 kB / 0.8399 GB, free: 3.555 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.0254, allocations: 4 kB / 0.8399 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.0254, allocations: 4 kB / 0.8399 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.02541, allocations: 0 / 0.8399 GB, free: 3.547 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.0261, allocations: 0.7874 MB / 0.8406 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.0261, allocations: 3.938 kB / 0.8406 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.781e-05/0.0262, allocations: 39.98 kB / 0.8407 GB, free: 2.633 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001846/0.02638, allocations: 122.5 kB / 0.8408 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.02639, allocations: 4 kB / 0.8408 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/0.02808, allocations: 5.18 MB / 0.8459 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.02808, allocations: 7.969 kB / 0.8459 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003869/0.02847, allocations: 0.5351 MB / 0.8464 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.02856, allocations: 79.58 kB / 0.8465 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.02858, allocations: 8 kB / 0.8465 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/0.02868, allocations: 8 kB / 0.8465 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.02872, allocations: 39.88 kB / 0.8465 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.02873, allocations: 12 kB / 0.8465 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001283/0.02886, allocations: 290.7 kB / 0.8468 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02886, allocations: 0 / 0.8468 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003656/0.02923, allocations: 147.9 kB / 0.847 GB, free: 11.78 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001042/0.02933, allocations: 115.2 kB / 0.8471 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000575/0.02991, allocations: 0.8115 MB / 0.8479 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02991, allocations: 0 / 0.8479 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.03024, allocations: 0.6469 MB / 0.8485 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.03076, allocations: 182.4 kB / 0.8487 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.03178, allocations: 0.9722 MB / 0.8496 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.549e-05/0.03187, allocations: 150 kB / 0.8498 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.03201, allocations: 73.03 kB / 0.8498 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.03223, allocations: 218.1 kB / 0.85 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.03223, allocations: 0 / 0.85 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of Templates: time 0.009632/0.04186, allocations: 8.377 MB / 0.8582 GB, free: 228 kB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.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.143670001998544]