Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001905/0.001905, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002041/0.002041, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.97/2.97, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7864 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.81e-05, allocations: 4.219 kB / 0.7864 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007986/0.008014, allocations: 4.827 MB / 0.7911 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004957/0.01297, allocations: 2.486 MB / 0.7935 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004902/0.01346, allocations: 35.62 kB / 0.7935 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.01488, allocations: 415 kB / 0.7939 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.01622, allocations: 485.1 kB / 0.7944 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.01722, allocations: 369.7 kB / 0.7948 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.01859, allocations: 0.946 MB / 0.7957 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005611/0.01915, allocations: 326.3 kB / 0.796 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007284/0.01988, allocations: 492.4 kB / 0.7965 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005406/0.02042, allocations: 307.1 kB / 0.7968 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.02049, allocations: 36 kB / 0.7968 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.02131, allocations: 363 kB / 0.7971 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.02155, allocations: 201.3 kB / 0.7973 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.02184, allocations: 211.4 kB / 0.7975 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.02309, allocations: 0.9071 MB / 0.7984 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.02309, allocations: 0 / 0.7984 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.02309, allocations: 0 / 0.7984 GB, free: 0.5312 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.02311, allocations: 0.6875 kB / 0.7984 GB, free: 0.5312 MB / 0.7448 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.001632/0.02474, allocations: 1.013 MB / 0.7994 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.02478, allocations: 8.031 kB / 0.7994 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.02616, allocations: 280 kB / 0.7997 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/0.02709, allocations: 0.5 MB / 0.8002 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.02713, allocations: 29.38 kB / 0.8002 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.02721, allocations: 48.36 kB / 0.8002 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.02846, allocations: 0.9153 MB / 0.8011 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.02849, allocations: 4.125 kB / 0.8011 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.02854, allocations: 28.3 kB / 0.8012 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.02865, allocations: 76.89 kB / 0.8012 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006681/0.02932, allocations: 343.3 kB / 0.8016 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005892/0.03521, allocations: 6.407 MB / 0.8078 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005039/0.03571, allocations: 256.7 kB / 0.8081 GB, free: 6.141 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.03592, allocations: 92.19 kB / 0.8082 GB, free: 6.047 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.03597, allocations: 12.58 kB / 0.8082 GB, free: 6.035 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.03601, allocations: 37.39 kB / 0.8082 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 1.824e-06/0.03601, allocations: 0.75 kB / 0.8082 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002177/0.03819, allocations: 0.7344 MB / 0.8089 GB, free: 5.227 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.03824, allocations: 55.69 kB / 0.809 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006871/0.03893, allocations: 0.5882 MB / 0.8096 GB, free: 4.555 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.03896, allocations: 33.7 kB / 0.8096 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/0.03932, allocations: 427.1 kB / 0.81 GB, free: 4.09 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.03945, allocations: 131 kB / 0.8101 GB, free: 3.961 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.03965, allocations: 119.9 kB / 0.8102 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003555/0.04, allocations: 0.5586 MB / 0.8108 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.04022, allocations: 113.2 kB / 0.8109 GB, free: 3.156 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/0.04098, allocations: 474.8 kB / 0.8113 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.04184, allocations: 0.629 MB / 0.8119 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.04185, allocations: 4 kB / 0.812 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001217/0.04307, allocations: 0.6521 MB / 0.8126 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.0431, allocations: 12.17 kB / 0.8126 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.04311, allocations: 16 kB / 0.8126 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005286/0.04364, allocations: 138.3 kB / 0.8127 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.04413, allocations: 119.8 kB / 0.8129 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/0.04911, allocations: 5.333 MB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.04954, allocations: 31.97 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.04958, allocations: 28 kB / 0.8181 GB, free: 11 MB / 0.7761 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.0003489/0.04993, allocations: 224.5 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.05005, allocations: 63.67 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008941/0.05094, allocations: 404.9 kB / 0.8188 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.05095, allocations: 4 kB / 0.8188 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.05095, allocations: 3.938 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.05096, allocations: 7.984 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.05276, allocations: 0.9937 MB / 0.8198 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.05276, allocations: 224 / 0.8198 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.05302, allocations: 59.89 kB / 0.8198 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/0.05346, allocations: 126.3 kB / 0.82 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.05349, allocations: 8 kB / 0.82 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/0.05805, allocations: 5.311 MB / 0.8251 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.05805, allocations: 0 / 0.8251 GB, free: 3.293 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009761/0.05903, allocations: 0.6014 MB / 0.8257 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.05927, allocations: 95.55 kB / 0.8258 GB, free: 2.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.05933, allocations: 8 kB / 0.8258 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.05958, allocations: 23.97 kB / 0.8259 GB, free: 2.496 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.05969, allocations: 39.94 kB / 0.8259 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.64e-05/0.05971, allocations: 16 kB / 0.8259 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004063/0.06012, allocations: 354.8 kB / 0.8262 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.06012, allocations: 0 / 0.8262 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007028/0.06082, allocations: 144 kB / 0.8264 GB, free: 1.957 MB / 0.7761 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.0001667/0.06099, allocations: 107.2 kB / 0.8265 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.06238, allocations: 0.8862 MB / 0.8274 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.06238, allocations: 0 / 0.8274 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008621/0.06325, allocations: 0.6722 MB / 0.828 GB, free: 156 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009881/0.06423, allocations: 191.4 kB / 0.8282 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.0659, allocations: 0.9879 MB / 0.8292 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.06626, allocations: 303.4 kB / 0.8294 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002893/0.06655, allocations: 89 kB / 0.8295 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.06665, allocations: 44.5 kB / 0.8296 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of SimCode: time 7.01e-07/0.06665, allocations: 0 / 0.8296 GB, free: 14.45 MB / 0.7917 GB Notification: Performance of Templates: time 0.01556/0.08221, allocations: 7.844 MB / 0.8372 GB, free: 6.84 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.506282756919973]