Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001478/0.001478, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001648/0.001648, allocations: 159.9 kB / 22.46 MB, free: 5.375 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.474/1.474, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.858/2.858, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.918e-05, allocations: 6.219 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007111/0.00714, allocations: 4.57 MB / 1.005 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004738/0.01188, allocations: 2.377 MB / 1.007 GB, free: 320 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004682/0.01235, allocations: 35.62 kB / 1.007 GB, free: 284 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.01381, allocations: 403 kB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.01516, allocations: 493 kB / 1.008 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.0162, allocations: 377.8 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.0176, allocations: 0.9447 MB / 1.009 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/0.01827, allocations: 326.4 kB / 1.009 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009461/0.01922, allocations: 490.7 kB / 1.01 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006157/0.01983, allocations: 303 kB / 1.01 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-05/0.01993, allocations: 44 kB / 1.01 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.02066, allocations: 367 kB / 1.011 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.02093, allocations: 195.3 kB / 1.011 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.02128, allocations: 203.5 kB / 1.011 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.02264, allocations: 0.9111 MB / 1.012 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.02265, allocations: 0 / 1.012 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.02265, allocations: 0 / 1.012 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.608e-05/0.02267, allocations: 0 / 1.012 GB, free: 11.27 MB / 0.9669 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.001652/0.02432, allocations: 0.8779 MB / 1.013 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.02436, allocations: 8.031 kB / 1.013 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.02579, allocations: 212.3 kB / 1.013 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009383/0.02673, allocations: 476 kB / 1.013 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.02677, allocations: 37.36 kB / 1.013 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.02687, allocations: 48.36 kB / 1.013 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.02825, allocations: 0.9666 MB / 1.014 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.0283, allocations: 12.08 kB / 1.014 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.02835, allocations: 24.31 kB / 1.014 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.02846, allocations: 68.89 kB / 1.014 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009861/0.02945, allocations: 0.5656 MB / 1.015 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/0.03422, allocations: 4.611 MB / 1.02 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.03493, allocations: 422.8 kB / 1.02 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.03526, allocations: 205.2 kB / 1.02 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.03529, allocations: 7.984 kB / 1.02 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.03533, allocations: 38.56 kB / 1.02 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.03534, allocations: 0 / 1.02 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.002706/0.03804, allocations: 1.132 MB / 1.021 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.03809, allocations: 55.69 kB / 1.021 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006309/0.03872, allocations: 470.7 kB / 1.022 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.03875, allocations: 33.7 kB / 1.022 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.03905, allocations: 364.2 kB / 1.022 GB, free: 212 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.03917, allocations: 123 kB / 1.022 GB, free: 88 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.03936, allocations: 110.3 kB / 1.022 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.03956, allocations: 362.7 kB / 1.023 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.03989, allocations: 197.2 kB / 1.023 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005494/0.04044, allocations: 451.3 kB / 1.023 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.04145, allocations: 0.6882 MB / 1.024 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.04145, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001468/0.04292, allocations: 0.8014 MB / 1.025 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.04294, allocations: 8 kB / 1.025 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.04296, allocations: 8 kB / 1.025 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.04354, allocations: 153 kB / 1.025 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.04402, allocations: 127.7 kB / 1.025 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/0.04795, allocations: 3.968 MB / 1.029 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/0.04836, allocations: 31.97 kB / 1.029 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.04841, allocations: 28 kB / 1.029 GB, free: 8.586 MB / 0.9825 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.0004054/0.04882, allocations: 217.8 kB / 1.029 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.04897, allocations: 55.67 kB / 1.029 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.05025, allocations: 0.5885 MB / 1.03 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.05026, allocations: 4 kB / 1.03 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.05027, allocations: 7.938 kB / 1.03 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.05028, allocations: 0 / 1.03 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.05266, allocations: 1.117 MB / 1.031 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.05267, allocations: 0 / 1.031 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.05298, allocations: 59.89 kB / 1.031 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/0.05349, allocations: 144.1 kB / 1.031 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.05352, allocations: 8.219 kB / 1.031 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004223/0.05775, allocations: 3.958 MB / 1.035 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.05775, allocations: 0 / 1.035 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.059, allocations: 0.7083 MB / 1.036 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.05923, allocations: 83.64 kB / 1.036 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.756e-05/0.05931, allocations: 11.98 kB / 1.036 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002743/0.05959, allocations: 23.97 kB / 1.036 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.437e-05/0.05968, allocations: 39.98 kB / 1.036 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.05971, allocations: 12 kB / 1.036 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004112/0.06012, allocations: 302.9 kB / 1.036 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.06012, allocations: 0 / 1.036 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007325/0.06085, allocations: 136 kB / 1.036 GB, free: 0.6523 MB / 0.9825 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.0001837/0.06103, allocations: 111.2 kB / 1.036 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.06254, allocations: 0.8507 MB / 1.037 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.06254, allocations: 4 kB / 1.037 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008659/0.06341, allocations: 0.564 MB / 1.038 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.06447, allocations: 199.4 kB / 1.038 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.06642, allocations: 1.045 MB / 1.039 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.06677, allocations: 299.4 kB / 1.039 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003358/0.06711, allocations: 121 kB / 1.039 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.06721, allocations: 40.5 kB / 1.039 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of SimCode: time 1.373e-06/0.06721, allocations: 0 / 1.039 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of Templates: time 0.01644/0.08365, allocations: 7.735 MB / 1.047 GB, free: 5.727 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.072084933519363]