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.001138/0.001138, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001661/0.001661, allocations: 161 kB / 23.82 MB, free: 0.75 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.034/1.034, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.901/1.901, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.555e-06/2.555e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.372e-05, allocations: 3.594 kB / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.003915/0.003948, allocations: 3.804 MB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.006196, allocations: 1.385 MB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.006496, allocations: 35.62 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006173/0.007113, allocations: 163.9 kB / 0.8168 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006124/0.007725, allocations: 350.2 kB / 0.8171 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000779/0.008504, allocations: 321 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007312/0.009236, allocations: 0.9495 MB / 0.8184 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.009629, allocations: 310.4 kB / 0.8187 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.0101, allocations: 496.4 kB / 0.8191 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003322/0.01043, allocations: 307 kB / 0.8194 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.784e-05/0.01048, allocations: 40 kB / 0.8195 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.01069, allocations: 104.5 kB / 0.8196 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.01084, allocations: 200 kB / 0.8197 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.011, allocations: 215.4 kB / 0.82 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.01149, allocations: 0.5103 MB / 0.8205 GB, free: 8.594 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.0115, allocations: 4 kB / 0.8205 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.413e-06/0.0115, allocations: 1.094 kB / 0.8205 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.01151, allocations: 0 / 0.8205 GB, free: 8.59 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.0009649/0.01247, allocations: 0.9498 MB / 0.8214 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.01251, allocations: 8.031 kB / 0.8214 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007834/0.01329, allocations: 281.4 kB / 0.8217 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.01384, allocations: 0.5086 MB / 0.8222 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.01387, allocations: 33.38 kB / 0.8222 GB, free: 6.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.01393, allocations: 48.36 kB / 0.8222 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.01459, allocations: 0.8534 MB / 0.8231 GB, free: 5.664 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.01462, allocations: 8.125 kB / 0.8231 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.01465, allocations: 24.98 kB / 0.8231 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.04e-05/0.01472, allocations: 68.89 kB / 0.8232 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.01508, allocations: 301.7 kB / 0.8235 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.01807, allocations: 6.286 MB / 0.8296 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003435/0.01841, allocations: 278.6 kB / 0.8299 GB, free: 14.47 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.01855, allocations: 88.75 kB / 0.8299 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.01857, allocations: 7.938 kB / 0.83 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.0186, allocations: 45.38 kB / 0.83 GB, free: 14.32 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 2.023e-06/0.0186, allocations: 5.062 kB / 0.83 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.001251/0.01985, allocations: 0.6883 MB / 0.8307 GB, free: 13.6 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.01988, allocations: 56.41 kB / 0.8307 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.02019, allocations: 0.4984 MB / 0.8312 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.02021, allocations: 30.95 kB / 0.8312 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.02054, allocations: 411 kB / 0.8316 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.02061, allocations: 127 kB / 0.8318 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.02071, allocations: 116.7 kB / 0.8319 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.02085, allocations: 0.5352 MB / 0.8324 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.02096, allocations: 89.25 kB / 0.8325 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.02123, allocations: 451.4 kB / 0.8329 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004277/0.02165, allocations: 0.5874 MB / 0.8335 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02166, allocations: 0 / 0.8335 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00065/0.02231, allocations: 0.6127 MB / 0.8341 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.02233, allocations: 11.98 kB / 0.8341 GB, free: 9.699 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.02234, allocations: 12 kB / 0.8341 GB, free: 9.688 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.02267, allocations: 126.5 kB / 0.8342 GB, free: 9.543 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.02293, allocations: 127.8 kB / 0.8343 GB, free: 9.418 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002476/0.02541, allocations: 5.252 MB / 0.8395 GB, free: 3.801 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.0256, allocations: 35.97 kB / 0.8395 GB, free: 3.766 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.02562, allocations: 28 kB / 0.8395 GB, free: 3.738 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.0001422/0.02577, allocations: 204.5 kB / 0.8397 GB, free: 3.527 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.02583, allocations: 63.67 kB / 0.8398 GB, free: 3.465 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.02627, allocations: 369 kB / 0.8401 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.02628, allocations: 4 kB / 0.8401 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.02628, allocations: 3.938 kB / 0.8401 GB, free: 3.07 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.02629, allocations: 3.984 kB / 0.8402 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008919/0.02718, allocations: 0.8887 MB / 0.841 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.02718, allocations: 0 / 0.841 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.02732, allocations: 59.89 kB / 0.8411 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002296/0.02755, allocations: 126.4 kB / 0.8412 GB, free: 1.883 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.02756, allocations: 11.98 kB / 0.8412 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.02975, allocations: 5.236 MB / 0.8463 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.02975, allocations: 3.938 kB / 0.8463 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.03022, allocations: 0.558 MB / 0.8469 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.03034, allocations: 87.75 kB / 0.847 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.03037, allocations: 12 kB / 0.847 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.03049, allocations: 23.97 kB / 0.847 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.327e-05/0.03054, allocations: 35.88 kB / 0.847 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.03056, allocations: 12 kB / 0.847 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001821/0.03074, allocations: 310.8 kB / 0.8473 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.03074, allocations: 0 / 0.8473 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004135/0.03115, allocations: 140 kB / 0.8475 GB, free: 11.03 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.000121/0.03127, allocations: 119.2 kB / 0.8476 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007757/0.03205, allocations: 0.8524 MB / 0.8484 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.03205, allocations: 0 / 0.8484 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/0.03245, allocations: 0.6575 MB / 0.8491 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.03302, allocations: 184 kB / 0.8492 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.03428, allocations: 0.9715 MB / 0.8502 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.03439, allocations: 154 kB / 0.8503 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.03456, allocations: 105 kB / 0.8504 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.03463, allocations: 36.5 kB / 0.8505 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of SimCode: time 8.12e-07/0.03463, allocations: 4 kB / 0.8505 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of Templates: time 0.0105/0.04513, allocations: 7.846 MB / 0.8581 GB, free: 124 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.472797210793942]