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.001687/0.001687, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002084/0.002084, allocations: 219.5 kB / 23 MB, free: 4.914 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.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 3.313/3.313, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 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.002108/0.002108, allocations: 63.86 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3861, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006533/0.3926, allocations: 3.619 MB / 1.368 GB, free: 9.988 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.3963, allocations: 1.765 MB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.3967, allocations: 19.81 kB / 1.37 GB, free: 8.195 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.3978, allocations: 270.6 kB / 1.37 GB, free: 7.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0009836/0.3988, allocations: 310.4 kB / 1.37 GB, free: 7.625 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007642/0.3996, allocations: 254.6 kB / 1.371 GB, free: 7.379 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.4006, allocations: 0.6091 MB / 1.371 GB, free: 6.766 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.4012, allocations: 238.4 kB / 1.372 GB, free: 6.527 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005996/0.4018, allocations: 243.1 kB / 1.372 GB, free: 6.289 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005084/0.4023, allocations: 234.9 kB / 1.372 GB, free: 6.059 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.4023, allocations: 28 kB / 1.372 GB, free: 6.031 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006054/0.403, allocations: 251.4 kB / 1.372 GB, free: 5.785 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.4031, allocations: 115.6 kB / 1.372 GB, free: 5.672 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.4034, allocations: 183 kB / 1.373 GB, free: 5.492 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.4044, allocations: 0.5875 MB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4044, allocations: 0 / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4044, allocations: 0 / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.119e-05/0.4045, allocations: 3.938 kB / 1.373 GB, free: 4.898 MB / 1.061 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.001558/0.406, allocations: 0.6681 MB / 1.374 GB, free: 4.199 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.4061, allocations: 8.031 kB / 1.374 GB, free: 4.191 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000999/0.4071, allocations: 140.5 kB / 1.374 GB, free: 4.055 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007421/0.4078, allocations: 341.3 kB / 1.374 GB, free: 3.699 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.4078, allocations: 25.03 kB / 1.374 GB, free: 3.676 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.225e-05/0.4079, allocations: 32.36 kB / 1.374 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.409, allocations: 0.6316 MB / 1.375 GB, free: 2.922 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.409, allocations: 3.938 kB / 1.375 GB, free: 2.918 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.409, allocations: 19.97 kB / 1.375 GB, free: 2.898 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-05/0.4091, allocations: 40.64 kB / 1.375 GB, free: 2.859 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.4099, allocations: 410.1 kB / 1.375 GB, free: 2.457 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.4132, allocations: 2.683 MB / 1.378 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007222/0.4139, allocations: 319.4 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/0.4142, allocations: 164.7 kB / 1.378 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.4143, allocations: 4 kB / 1.378 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.4143, allocations: 30.56 kB / 1.378 GB, free: 15.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 2.384e-06/0.4143, allocations: 4 kB / 1.378 GB, free: 15.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.002161/0.4164, allocations: 0.8472 MB / 1.379 GB, free: 14.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.4165, allocations: 51.64 kB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.4169, allocations: 329.5 kB / 1.38 GB, free: 13.87 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.4169, allocations: 29.7 kB / 1.38 GB, free: 13.84 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.4171, allocations: 260 kB / 1.38 GB, free: 13.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.219e-05/0.4172, allocations: 99.16 kB / 1.38 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.4174, allocations: 82.08 kB / 1.38 GB, free: 13.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4175, allocations: 342.8 kB / 1.38 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.4178, allocations: 152.8 kB / 1.381 GB, free: 12.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.4183, allocations: 290.5 kB / 1.381 GB, free: 12.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/0.4191, allocations: 478.3 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4191, allocations: 3.938 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001132/0.4202, allocations: 0.562 MB / 1.382 GB, free: 11.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.4202, allocations: 8 kB / 1.382 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4202, allocations: 4.625 kB / 1.382 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.4206, allocations: 94.5 kB / 1.382 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.4209, allocations: 83.83 kB / 1.382 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.421, allocations: 15.97 kB / 1.382 GB, free: 11.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.4213, allocations: 27.97 kB / 1.382 GB, free: 11.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.4213, allocations: 23.94 kB / 1.382 GB, free: 11.18 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.0002376/0.4215, allocations: 169.6 kB / 1.382 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.4216, allocations: 43.77 kB / 1.382 GB, free: 10.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/0.4226, allocations: 472.2 kB / 1.383 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.4226, allocations: 0 / 1.383 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.4226, allocations: 7.984 kB / 1.383 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4226, allocations: 0 / 1.383 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.4242, allocations: 0.8327 MB / 1.384 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4242, allocations: 8.094 kB / 1.384 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.4245, allocations: 51.91 kB / 1.384 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.4248, allocations: 82.44 kB / 1.384 GB, free: 9.438 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.4248, allocations: 8 kB / 1.384 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4248, allocations: 0 / 1.384 GB, free: 9.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4248, allocations: 7.938 kB / 1.384 GB, free: 9.422 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009346/0.4257, allocations: 0.5391 MB / 1.384 GB, free: 8.848 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.4259, allocations: 67.73 kB / 1.384 GB, free: 8.781 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.426, allocations: 4 kB / 1.384 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.4262, allocations: 27.91 kB / 1.384 GB, free: 8.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.4263, allocations: 23.89 kB / 1.384 GB, free: 8.727 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.4263, allocations: 12 kB / 1.384 GB, free: 8.715 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002609/0.4266, allocations: 223.2 kB / 1.385 GB, free: 8.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4266, allocations: 0 / 1.385 GB, free: 8.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004568/0.427, allocations: 84 kB / 1.385 GB, free: 8.418 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 0.0001656/0.4272, allocations: 107.2 kB / 1.385 GB, free: 8.301 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009116/0.4281, allocations: 395.1 kB / 1.385 GB, free: 7.906 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4281, allocations: 0 / 1.385 GB, free: 7.906 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.4285, allocations: 202.6 kB / 1.385 GB, free: 7.699 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007392/0.4293, allocations: 118.6 kB / 1.385 GB, free: 7.582 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.4307, allocations: 0.7814 MB / 1.386 GB, free: 6.762 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.431, allocations: 216.1 kB / 1.386 GB, free: 6.535 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.4311, allocations: 31.44 kB / 1.386 GB, free: 6.504 MB / 1.076 GB Notification: Performance of SimCode: time 8.72e-07/0.4311, allocations: 0 / 1.386 GB, free: 6.504 MB / 1.076 GB Notification: Performance of Templates: time 0.01576/0.4468, allocations: 9.575 MB / 1.396 GB, free: 12.96 MB / 1.092 GB " [Timeout remaining time 300] 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 -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: 13.36773412534967]