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.001521/0.001521, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001869/0.001869, allocations: 213.6 kB / 23 MB, free: 4.965 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.235/3.235, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_12_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.002028/0.002028, allocations: 67.08 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3752, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006817/0.382, allocations: 3.616 MB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003702/0.3857, allocations: 1.77 MB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000407/0.3861, allocations: 23.81 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3872, allocations: 262.6 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.3883, allocations: 310.4 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007113/0.389, allocations: 262.7 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007974/0.3898, allocations: 0.6052 MB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004356/0.3902, allocations: 238.5 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.3906, allocations: 247 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.391, allocations: 246.9 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.211e-05/0.391, allocations: 28 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.3915, allocations: 243.4 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3916, allocations: 127.6 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.3918, allocations: 175.1 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007592/0.3926, allocations: 0.5953 MB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3926, allocations: 0 / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3926, allocations: 0 / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.195e-05/0.3926, allocations: 0 / 1.336 GB, free: 8.25 MB / 1.029 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.001264/0.3939, allocations: 0.6759 MB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3939, allocations: 8.031 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.3948, allocations: 136.5 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/0.3955, allocations: 345.3 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/0.3955, allocations: 25.02 kB / 1.337 GB, free: 7.016 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-05/0.3956, allocations: 28.33 kB / 1.337 GB, free: 6.988 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.3965, allocations: 0.6358 MB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.3965, allocations: 11.92 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.3966, allocations: 12 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.713e-05/0.3966, allocations: 40.62 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.3974, allocations: 406.1 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/0.4002, allocations: 2.683 MB / 1.34 GB, free: 3.004 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.4009, allocations: 318.3 kB / 1.341 GB, free: 2.684 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.4012, allocations: 160.8 kB / 1.341 GB, free: 2.523 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.4013, allocations: 0 / 1.341 GB, free: 2.523 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.4013, allocations: 38.56 kB / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.4013, allocations: 0 / 1.341 GB, free: 2.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.002026/0.4033, allocations: 0.8365 MB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4034, allocations: 59.58 kB / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.4037, allocations: 325.5 kB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.4037, allocations: 37.64 kB / 1.342 GB, free: 1.184 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.4039, allocations: 256 kB / 1.342 GB, free: 0.9297 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.391e-05/0.404, allocations: 103.2 kB / 1.342 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.4041, allocations: 78.08 kB / 1.343 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4043, allocations: 342.8 kB / 1.343 GB, free: 408 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.4046, allocations: 152.8 kB / 1.343 GB, free: 256 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.405, allocations: 286.5 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.4057, allocations: 483.2 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4057, allocations: 4 kB / 1.344 GB, free: 15.37 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001049/0.4068, allocations: 0.5579 MB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4068, allocations: 8 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4068, allocations: 4 kB / 1.344 GB, free: 14.78 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.4072, allocations: 91.06 kB / 1.344 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.4075, allocations: 87.88 kB / 1.345 GB, free: 14.6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.4076, allocations: 23.86 kB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.4078, allocations: 27.98 kB / 1.345 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.4079, allocations: 19.98 kB / 1.345 GB, free: 14.53 MB / 1.045 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.0002059/0.4081, allocations: 178.1 kB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.4081, allocations: 39.77 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009564/0.4091, allocations: 464 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4091, allocations: 3.984 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4091, allocations: 0 / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.4093, allocations: 63.72 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.4093, allocations: 11.95 kB / 1.345 GB, free: 13.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.4096, allocations: 19.97 kB / 1.345 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.4096, allocations: 23.95 kB / 1.345 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001146/0.4108, allocations: 0.523 MB / 1.346 GB, free: 13.17 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001035/0.4118, allocations: 0.6901 MB / 1.347 GB, free: 12.46 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002625/0.4121, allocations: 143.9 kB / 1.347 GB, free: 12.32 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002947/0.4124, allocations: 223.2 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of Backend: time 5.21e-07/0.4124, allocations: 0 / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.4137, allocations: 496.6 kB / 1.347 GB, free: 11.61 MB / 1.045 GB Notification: Performance of SimCode: time 0.001613/0.4153, allocations: 1.213 MB / 1.349 GB, free: 10.35 MB / 1.045 GB Notification: Performance of Templates: time 0.01347/0.4288, allocations: 7.488 MB / 1.356 GB, free: 2.996 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.24293730500358]