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.001496/0.001496, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001651/0.001651, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.463/1.463, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 2.815/2.815, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",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.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.369e-05/3.559e-05, allocations: 5.062 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.01011/0.01014, allocations: 4.567 MB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006501/0.01665, allocations: 2.383 MB / 0.8176 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004695/0.01711, allocations: 36.16 kB / 0.8176 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.01847, allocations: 403.7 kB / 0.818 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.01975, allocations: 490.4 kB / 0.8185 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.02078, allocations: 364.8 kB / 0.8188 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.02204, allocations: 0.9486 MB / 0.8198 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005713/0.02261, allocations: 322.9 kB / 0.8201 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007549/0.02336, allocations: 487.2 kB / 0.8205 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005367/0.0239, allocations: 312.7 kB / 0.8208 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.379e-05/0.02397, allocations: 40 kB / 0.8209 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/0.02478, allocations: 366.9 kB / 0.8212 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.02502, allocations: 193.1 kB / 0.8214 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.02532, allocations: 211.4 kB / 0.8216 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.0266, allocations: 0.8994 MB / 0.8225 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.02661, allocations: 0 / 0.8225 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.352e-06/0.02661, allocations: 4.812 kB / 0.8225 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.02662, allocations: 0 / 0.8225 GB, free: 6.176 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.001695/0.02831, allocations: 0.8821 MB / 0.8233 GB, free: 5.266 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.02836, allocations: 8.031 kB / 0.8234 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.03009, allocations: 292 kB / 0.8236 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/0.03101, allocations: 0.4944 MB / 0.8241 GB, free: 4.465 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.03106, allocations: 37.36 kB / 0.8242 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.03116, allocations: 48.36 kB / 0.8242 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.03258, allocations: 0.9705 MB / 0.8251 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.0326, allocations: 4.125 kB / 0.8251 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.11e-05/0.03266, allocations: 20.38 kB / 0.8252 GB, free: 3.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.03278, allocations: 74.98 kB / 0.8252 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009743/0.03375, allocations: 0.5656 MB / 0.8258 GB, free: 2.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.03907, allocations: 4.633 MB / 0.8303 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.04012, allocations: 425 kB / 0.8307 GB, free: 13.35 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.04047, allocations: 200.7 kB / 0.8309 GB, free: 13.15 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.0405, allocations: 8.531 kB / 0.8309 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.04054, allocations: 34.5 kB / 0.831 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 2.425e-06/0.04055, allocations: 1.562 kB / 0.831 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.002923/0.04347, allocations: 1.133 MB / 0.8321 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.04353, allocations: 59.62 kB / 0.8321 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006177/0.04415, allocations: 478.5 kB / 0.8326 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.745e-05/0.04419, allocations: 29.7 kB / 0.8326 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.04452, allocations: 364.4 kB / 0.833 GB, free: 11 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.04465, allocations: 126.9 kB / 0.8331 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.04483, allocations: 110.2 kB / 0.8332 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.04507, allocations: 366.7 kB / 0.8335 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.04539, allocations: 193.2 kB / 0.8337 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.04597, allocations: 451.3 kB / 0.8341 GB, free: 9.652 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009949/0.04696, allocations: 0.6882 MB / 0.8348 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.04697, allocations: 4 kB / 0.8348 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001511/0.04848, allocations: 0.8371 MB / 0.8356 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.04851, allocations: 8 kB / 0.8356 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.04852, allocations: 8 kB / 0.8357 GB, free: 7.969 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/0.04912, allocations: 160.4 kB / 0.8358 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/0.0496, allocations: 127.7 kB / 0.8359 GB, free: 7.672 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.05405, allocations: 3.966 MB / 0.8398 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.05447, allocations: 35.97 kB / 0.8398 GB, free: 3.367 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.05452, allocations: 28 kB / 0.8399 GB, free: 3.34 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.0003395/0.05486, allocations: 213.8 kB / 0.8401 GB, free: 3.121 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.05497, allocations: 67.62 kB / 0.8401 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.05618, allocations: 0.5927 MB / 0.8407 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.05619, allocations: 4 kB / 0.8407 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.0562, allocations: 11.88 kB / 0.8407 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.0562, allocations: 3.984 kB / 0.8407 GB, free: 2.418 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.05817, allocations: 1.118 MB / 0.8418 GB, free: 1.227 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.05818, allocations: 7.984 kB / 0.8418 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/0.05843, allocations: 51.89 kB / 0.8419 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005087/0.05894, allocations: 148.3 kB / 0.842 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.05897, allocations: 12 kB / 0.842 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/0.06402, allocations: 3.95 MB / 0.8459 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.06403, allocations: 7.969 kB / 0.8459 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.06586, allocations: 0.7118 MB / 0.8466 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/0.06619, allocations: 91.58 kB / 0.8467 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.089e-05/0.06628, allocations: 8.25 kB / 0.8467 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.06669, allocations: 23.97 kB / 0.8467 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.06681, allocations: 35.88 kB / 0.8467 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.06685, allocations: 12 kB / 0.8468 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005599/0.06741, allocations: 298.9 kB / 0.847 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.5e-07/0.06741, allocations: 0 / 0.847 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001096/0.06851, allocations: 144 kB / 0.8472 GB, free: 11.37 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.0002449/0.06875, allocations: 119.1 kB / 0.8473 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002143/0.0709, allocations: 0.8584 MB / 0.8481 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.0709, allocations: 0 / 0.8481 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.07215, allocations: 0.5655 MB / 0.8487 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.07358, allocations: 201 kB / 0.8489 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.0761, allocations: 1.046 MB / 0.8499 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.07661, allocations: 307.4 kB / 0.8502 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004631/0.07707, allocations: 113 kB / 0.8503 GB, free: 8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.07722, allocations: 36.5 kB / 0.8503 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of SimCode: time 1.143e-06/0.07722, allocations: 0 / 0.8503 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of Templates: time 0.01731/0.09453, allocations: 7.8 MB / 0.8579 GB, free: 404 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 8.151578330085613]