Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001134/0.001134, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001107/0.002241, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007164/0.0007164, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009622/0.001679, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9434/0.9434, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08782/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.772/1.772, allocations: 378.3 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4629/2.235, allocations: 123.3 MB / 0.7283 GB, free: 5.727 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_12_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.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.867e-05, allocations: 5.828 kB / 0.7296 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003163/0.003181, allocations: 3.17 MB / 0.7327 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.004682, allocations: 1.171 MB / 0.7339 GB, free: 120 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.004821, allocations: 21.53 kB / 0.7339 GB, free: 100 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.005197, allocations: 143.2 kB / 0.734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.00549, allocations: 257.3 kB / 0.7343 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.00576, allocations: 209.5 kB / 0.7345 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007918/0.006552, allocations: 0.6399 MB / 0.7351 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.006831, allocations: 236.4 kB / 0.7353 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.007189, allocations: 371 kB / 0.7357 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.007436, allocations: 224.5 kB / 0.7359 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.007469, allocations: 28.66 kB / 0.7359 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.007615, allocations: 87.86 kB / 0.736 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.007697, allocations: 112.8 kB / 0.7361 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.704e-05/0.007784, allocations: 115.8 kB / 0.7362 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.008082, allocations: 342.5 kB / 0.7366 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.008094, allocations: 4.594 kB / 0.7366 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.202e-06/0.008095, allocations: 0.5312 kB / 0.7366 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.008106, allocations: 0 / 0.7366 GB, free: 13.36 MB / 0.7136 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.0006815/0.008787, allocations: 0.7039 MB / 0.7373 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.008817, allocations: 8.656 kB / 0.7373 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.009231, allocations: 214.8 kB / 0.7375 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.009544, allocations: 334.9 kB / 0.7378 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.009559, allocations: 21.03 kB / 0.7378 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.009596, allocations: 36.36 kB / 0.7378 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.009951, allocations: 487 kB / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.009963, allocations: 0 / 0.7383 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.009984, allocations: 12 kB / 0.7383 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.01002, allocations: 45.66 kB / 0.7384 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.01018, allocations: 150.3 kB / 0.7385 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.01135, allocations: 2.362 MB / 0.7408 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.01159, allocations: 205.2 kB / 0.741 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.01165, allocations: 52.78 kB / 0.7411 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.01166, allocations: 13.78 kB / 0.7411 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.01168, allocations: 38.55 kB / 0.7411 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 1.162e-06/0.01168, allocations: 0 / 0.7411 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.0006129/0.0123, allocations: 374.9 kB / 0.7415 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.01232, allocations: 55.64 kB / 0.7415 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.01271, allocations: 315.2 kB / 0.7418 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.01272, allocations: 32.11 kB / 0.7418 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.0128, allocations: 228.6 kB / 0.7421 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.01285, allocations: 99.16 kB / 0.7422 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.556e-05/0.01291, allocations: 74.12 kB / 0.7422 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.01299, allocations: 354.7 kB / 0.7426 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.01304, allocations: 40.98 kB / 0.7426 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.01314, allocations: 188.2 kB / 0.7428 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.01334, allocations: 297.4 kB / 0.7431 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01335, allocations: 4 kB / 0.7431 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002946/0.01364, allocations: 320.2 kB / 0.7434 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01365, allocations: 10.03 kB / 0.7434 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01366, allocations: 4.656 kB / 0.7434 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.0138, allocations: 71.66 kB / 0.7435 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.01397, allocations: 88.44 kB / 0.7435 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01398, allocations: 13.48 kB / 0.7436 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.01408, allocations: 12 kB / 0.7436 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01409, allocations: 16 kB / 0.7436 GB, free: 5.703 MB / 0.7136 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 8.534e-05/0.01418, allocations: 137.5 kB / 0.7437 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.01421, allocations: 44.48 kB / 0.7438 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.01447, allocations: 225.2 kB / 0.744 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01447, allocations: 4 kB / 0.744 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01448, allocations: 4.594 kB / 0.744 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01448, allocations: 0.5625 kB / 0.744 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.01493, allocations: 0.5155 MB / 0.7445 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01493, allocations: 4 kB / 0.7445 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.01504, allocations: 51.91 kB / 0.7445 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.0151, allocations: 49.89 kB / 0.7446 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.872e-05/0.0152, allocations: 59.02 kB / 0.7446 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.01521, allocations: 8 kB / 0.7447 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01521, allocations: 0 / 0.7447 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01521, allocations: 6.375 kB / 0.7447 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.01546, allocations: 375.5 kB / 0.745 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.01548, allocations: 8 kB / 0.745 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.01556, allocations: 8 kB / 0.745 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.0156, allocations: 19.95 kB / 0.7451 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.01561, allocations: 8 kB / 0.7451 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.01568, allocations: 122.3 kB / 0.7452 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01568, allocations: 3.938 kB / 0.7452 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002084/0.01589, allocations: 88 kB / 0.7453 GB, free: 3.871 MB / 0.7136 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 7.408e-05/0.01596, allocations: 91.3 kB / 0.7453 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.0162, allocations: 209.2 kB / 0.7455 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.01621, allocations: 12 kB / 0.7456 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.01633, allocations: 120.5 kB / 0.7457 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/0.01693, allocations: 1.141 MB / 0.7468 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.01853, allocations: 0.6948 MB / 0.7475 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.01859, allocations: 119.1 kB / 0.7476 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.0187, allocations: 44.03 kB / 0.7476 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.01886, allocations: 142.2 kB / 0.7478 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/0.01886, allocations: 3.938 kB / 0.7478 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of Templates: time 0.006562/0.02543, allocations: 5.195 MB / 0.7528 GB, free: 12.07 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.77850282471627]