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.001826/0.001826, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.00248/0.00248, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.582/1.582, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 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 3.165/3.165, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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 1.964e-06/1.964e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/3.081e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008067/0.008097, allocations: 4.572 MB / 0.8821 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005378/0.01348, allocations: 2.383 MB / 0.8844 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006697/0.01415, allocations: 31.62 kB / 0.8844 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.01584, allocations: 399.2 kB / 0.8848 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.01742, allocations: 497 kB / 0.8853 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.01855, allocations: 371 kB / 0.8856 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.0202, allocations: 0.9447 MB / 0.8866 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007987/0.021, allocations: 318.4 kB / 0.8869 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.0222, allocations: 498.7 kB / 0.8873 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007474/0.02295, allocations: 299.1 kB / 0.8876 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.02308, allocations: 43.94 kB / 0.8877 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009081/0.02398, allocations: 363 kB / 0.888 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000456/0.02444, allocations: 195.3 kB / 0.8882 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004313/0.02487, allocations: 207.5 kB / 0.8884 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001595/0.02647, allocations: 0.9032 MB / 0.8893 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.02647, allocations: 0 / 0.8893 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.232e-06/0.02647, allocations: 0 / 0.8893 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.545e-05/0.02651, allocations: 8 kB / 0.8893 GB, free: 10.5 MB / 0.8542 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.002047/0.02855, allocations: 0.8857 MB / 0.8901 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.0286, allocations: 8.031 kB / 0.8902 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.03031, allocations: 292 kB / 0.8904 GB, free: 9.293 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.03138, allocations: 0.4962 MB / 0.8909 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.497e-05/0.03144, allocations: 37.36 kB / 0.891 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.03155, allocations: 44.38 kB / 0.891 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.0331, allocations: 0.9627 MB / 0.8919 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.03314, allocations: 12.08 kB / 0.8919 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.03321, allocations: 24.36 kB / 0.892 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.03332, allocations: 72.89 kB / 0.892 GB, free: 7.461 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.03435, allocations: 0.5656 MB / 0.8926 GB, free: 6.891 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0054/0.03975, allocations: 4.623 MB / 0.8971 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/0.04049, allocations: 426.2 kB / 0.8975 GB, free: 1.656 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.04084, allocations: 200.7 kB / 0.8977 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.04087, allocations: 8 kB / 0.8977 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.04091, allocations: 38.55 kB / 0.8977 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.04092, allocations: 0 / 0.8977 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.002802/0.04372, allocations: 1.139 MB / 0.8989 GB, free: 248 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.04377, allocations: 55.69 kB / 0.8989 GB, free: 180 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.04438, allocations: 470.6 kB / 0.8994 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.04442, allocations: 29.7 kB / 0.8994 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.04475, allocations: 368.2 kB / 0.8997 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.04488, allocations: 130.9 kB / 0.8999 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.04507, allocations: 114.2 kB / 0.9 GB, free: 15.06 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.04529, allocations: 362.7 kB / 0.9003 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.04563, allocations: 193.2 kB / 0.9005 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.04622, allocations: 455.3 kB / 0.9009 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.04725, allocations: 0.6841 MB / 0.9016 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.04725, allocations: 4 kB / 0.9016 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001729/0.04898, allocations: 0.8342 MB / 0.9024 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.04901, allocations: 12 kB / 0.9024 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.04902, allocations: 8 kB / 0.9024 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.04963, allocations: 156.1 kB / 0.9026 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.05013, allocations: 123.8 kB / 0.9027 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004294/0.05443, allocations: 3.97 MB / 0.9066 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.05484, allocations: 35.97 kB / 0.9066 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.492e-05/0.0549, allocations: 28 kB / 0.9066 GB, free: 7.645 MB / 0.8698 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.0003249/0.05522, allocations: 221.8 kB / 0.9069 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.05537, allocations: 67.62 kB / 0.9069 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.05662, allocations: 0.5924 MB / 0.9075 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.05663, allocations: 4 kB / 0.9075 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.05664, allocations: 7.938 kB / 0.9075 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.05664, allocations: 0 / 0.9075 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.05872, allocations: 1.118 MB / 0.9086 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.05873, allocations: 224 / 0.9086 GB, free: 5.527 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.05901, allocations: 63.83 kB / 0.9087 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006586/0.05967, allocations: 144.2 kB / 0.9088 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.05971, allocations: 8 kB / 0.9088 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004171/0.06388, allocations: 3.962 MB / 0.9127 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.06389, allocations: 4.031 kB / 0.9127 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.06515, allocations: 0.7055 MB / 0.9134 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.0654, allocations: 95.53 kB / 0.9135 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.06549, allocations: 11.98 kB / 0.9135 GB, free: 172 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.06576, allocations: 19.97 kB / 0.9135 GB, free: 152 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.06585, allocations: 35.83 kB / 0.9135 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.06588, allocations: 16.12 kB / 0.9135 GB, free: 100 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004231/0.0663, allocations: 302.9 kB / 0.9138 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.1e-08/0.0663, allocations: 0 / 0.9138 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007206/0.06702, allocations: 140 kB / 0.914 GB, free: 15.67 MB / 0.8855 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.0001689/0.06719, allocations: 107.2 kB / 0.9141 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.0688, allocations: 0.8625 MB / 0.9149 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.06881, allocations: 0 / 0.9149 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.06974, allocations: 0.5641 MB / 0.9155 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.07094, allocations: 212.7 kB / 0.9157 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.07297, allocations: 1.042 MB / 0.9167 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.07338, allocations: 303.4 kB / 0.917 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003545/0.07374, allocations: 113 kB / 0.9171 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.07385, allocations: 44.5 kB / 0.9171 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/0.07385, allocations: 0 / 0.9171 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of Templates: time 0.01678/0.09063, allocations: 7.794 MB / 0.9247 GB, free: 4.672 MB / 0.8855 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: 8.581419329042546]