Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.001768/0.001768, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002118/0.002118, allocations: 159.9 kB / 23.01 MB, free: 4.602 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 9.004 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.88/2.88, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8565/0.8586, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004693/0.8633, allocations: 3.621 MB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002827/0.8661, allocations: 1.767 MB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.8663, allocations: 26.34 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008915/0.8672, allocations: 261.7 kB / 1.192 GB, free: 12.53 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006617/0.8679, allocations: 312.3 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.8685, allocations: 247.9 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006774/0.8692, allocations: 0.6096 MB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004025/0.8696, allocations: 230.4 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.87, allocations: 254.5 kB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003567/0.8703, allocations: 230.3 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.8704, allocations: 26.91 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.8708, allocations: 241 kB / 1.194 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.871, allocations: 129.5 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.8712, allocations: 174.8 kB / 1.194 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007936/0.872, allocations: 0.6 MB / 1.195 GB, free: 11.2 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.872, allocations: 1.062 kB / 1.195 GB, free: 11.2 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.872, allocations: 3.938 kB / 1.195 GB, free: 11.19 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.872, allocations: 0 / 1.195 GB, free: 11.19 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001133/0.8731, allocations: 0.6634 MB / 1.196 GB, free: 10.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.8732, allocations: 13.55 kB / 1.196 GB, free: 10.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008932/0.8741, allocations: 140.7 kB / 1.196 GB, free: 10.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.8746, allocations: 340.4 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.8746, allocations: 25.23 kB / 1.196 GB, free: 10.42 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.8747, allocations: 28.3 kB / 1.196 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008458/0.8755, allocations: 0.6339 MB / 1.197 GB, free: 9.965 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.8755, allocations: 15.53 kB / 1.197 GB, free: 9.953 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.606e-05/0.8756, allocations: 19.8 kB / 1.197 GB, free: 9.938 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.095e-05/0.8756, allocations: 42.08 kB / 1.197 GB, free: 9.934 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/0.8763, allocations: 406.6 kB / 1.197 GB, free: 9.797 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.8785, allocations: 2.682 MB / 1.2 GB, free: 7.527 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.8792, allocations: 310 kB / 1.2 GB, free: 7.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.8794, allocations: 165.4 kB / 1.2 GB, free: 7.352 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.8795, allocations: 10.8 kB / 1.2 GB, free: 7.344 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.8795, allocations: 32.75 kB / 1.2 GB, free: 7.305 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.8795, allocations: 0 / 1.2 GB, free: 7.305 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.002006/0.8815, allocations: 0.8438 MB / 1.201 GB, free: 6.961 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.8815, allocations: 55.02 kB / 1.201 GB, free: 6.898 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.8818, allocations: 333.5 kB / 1.202 GB, free: 6.715 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.8819, allocations: 30.92 kB / 1.202 GB, free: 6.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.882, allocations: 254.1 kB / 1.202 GB, free: 6.469 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.882, allocations: 95.91 kB / 1.202 GB, free: 6.395 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.8821, allocations: 79.31 kB / 1.202 GB, free: 6.348 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/0.8822, allocations: 342.6 kB / 1.202 GB, free: 6.023 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.8825, allocations: 154.4 kB / 1.203 GB, free: 5.969 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.8828, allocations: 290.5 kB / 1.203 GB, free: 5.75 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.8834, allocations: 487.6 kB / 1.203 GB, free: 5.426 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8834, allocations: 1.188 kB / 1.203 GB, free: 5.426 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001007/0.8844, allocations: 0.5565 MB / 1.204 GB, free: 5.184 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.8845, allocations: 7.672 kB / 1.204 GB, free: 5.184 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.8845, allocations: 9.594 kB / 1.204 GB, free: 5.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003271/0.8848, allocations: 91.88 kB / 1.204 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.8852, allocations: 87.08 kB / 1.204 GB, free: 5.129 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.8852, allocations: 12.69 kB / 1.204 GB, free: 5.125 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.8854, allocations: 33.34 kB / 1.204 GB, free: 5.113 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.8855, allocations: 18.75 kB / 1.204 GB, free: 5.109 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.8856, allocations: 178.1 kB / 1.204 GB, free: 4.961 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.8857, allocations: 40.09 kB / 1.204 GB, free: 4.941 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008457/0.8865, allocations: 462.1 kB / 1.205 GB, free: 4.738 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.8866, allocations: 7.406 kB / 1.205 GB, free: 4.734 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.8866, allocations: 5.562 kB / 1.205 GB, free: 4.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8866, allocations: 1.359 kB / 1.205 GB, free: 4.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.8879, allocations: 0.8402 MB / 1.206 GB, free: 4.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.8879, allocations: 1.906 kB / 1.206 GB, free: 4.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.8881, allocations: 46.09 kB / 1.206 GB, free: 4.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.8884, allocations: 96.2 kB / 1.206 GB, free: 4.199 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.8884, allocations: 5.438 kB / 1.206 GB, free: 4.195 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.8884, allocations: 3.203 kB / 1.206 GB, free: 4.195 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8884, allocations: 1.25 kB / 1.206 GB, free: 4.195 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.8892, allocations: 0.5436 MB / 1.206 GB, free: 3.879 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.8893, allocations: 61.55 kB / 1.206 GB, free: 3.848 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/0.8894, allocations: 8.375 kB / 1.206 GB, free: 3.844 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.8896, allocations: 20.7 kB / 1.206 GB, free: 3.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.8897, allocations: 36.61 kB / 1.206 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.8897, allocations: 6.266 kB / 1.206 GB, free: 3.824 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001928/0.8899, allocations: 226 kB / 1.207 GB, free: 3.699 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8899, allocations: 0 / 1.207 GB, free: 3.699 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000443/0.8903, allocations: 85.27 kB / 1.207 GB, free: 3.691 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.816e-05/0.8904, allocations: 99.98 kB / 1.207 GB, free: 3.598 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000782/0.8912, allocations: 397.5 kB / 1.207 GB, free: 3.457 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8912, allocations: 1.344 kB / 1.207 GB, free: 3.457 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003504/0.8915, allocations: 195.4 kB / 1.207 GB, free: 3.379 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.8923, allocations: 126.1 kB / 1.207 GB, free: 3.336 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.8933, allocations: 0.7372 MB / 1.208 GB, free: 2.906 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.8935, allocations: 221 kB / 1.208 GB, free: 2.816 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002228/0.8937, allocations: 79.03 kB / 1.208 GB, free: 2.797 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.8938, allocations: 33.31 kB / 1.208 GB, free: 2.785 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.8938, allocations: 0 / 1.208 GB, free: 2.785 MB / 1.076 GB Notification: Performance of Templates: time 0.01016/0.9039, allocations: 4.827 MB / 1.213 GB, free: 2.211 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.644872864941135]