Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002252/0.002252, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002003/0.002003, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.467/1.467, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 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.667/2.667, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] 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.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_11_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_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.598e-05, allocations: 2.281 kB / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005796/0.005822, allocations: 3.593 MB / 0.9545 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003345/0.009166, allocations: 1.746 MB / 0.9562 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.009447, allocations: 19.81 kB / 0.9562 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.01059, allocations: 270.5 kB / 0.9565 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008751/0.01146, allocations: 322.2 kB / 0.9568 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006711/0.01213, allocations: 255.2 kB / 0.957 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008805/0.01301, allocations: 0.6322 MB / 0.9576 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004907/0.0135, allocations: 234.5 kB / 0.9579 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.01416, allocations: 335.2 kB / 0.9582 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.01465, allocations: 211.3 kB / 0.9584 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.673e-05/0.01472, allocations: 24 kB / 0.9584 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004813/0.0152, allocations: 247.3 kB / 0.9586 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.01538, allocations: 131.6 kB / 0.9588 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.0156, allocations: 135.7 kB / 0.9589 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008601/0.01646, allocations: 0.6112 MB / 0.9595 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01646, allocations: 0 / 0.9595 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.01646, allocations: 0 / 0.9595 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.566e-05/0.01648, allocations: 0 / 0.9595 GB, free: 2.785 MB / 0.8575 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.001383/0.01786, allocations: 0.6643 MB / 0.9601 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.0179, allocations: 8.031 kB / 0.9601 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009701/0.01887, allocations: 144.5 kB / 0.9603 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.01949, allocations: 348.5 kB / 0.9606 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.01952, allocations: 25.02 kB / 0.9606 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.01959, allocations: 28.38 kB / 0.9607 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009875/0.02058, allocations: 0.6311 MB / 0.9613 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.0206, allocations: 7.938 kB / 0.9613 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.02064, allocations: 15.98 kB / 0.9613 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.636e-05/0.02072, allocations: 44.62 kB / 0.9613 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/0.0215, allocations: 398.1 kB / 0.9617 GB, free: 356 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.02442, allocations: 2.679 MB / 0.9643 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.02513, allocations: 310.5 kB / 0.9646 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.02545, allocations: 160.8 kB / 0.9648 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.02548, allocations: 4 kB / 0.9648 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.02551, allocations: 34.5 kB / 0.9648 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.02551, allocations: 0 / 0.9648 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=27): time 0.00215/0.02766, allocations: 0.8407 MB / 0.9656 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.0277, allocations: 63.52 kB / 0.9657 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.02807, allocations: 333.5 kB / 0.966 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.0281, allocations: 29.7 kB / 0.9661 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.02829, allocations: 252 kB / 0.9663 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.322e-05/0.02838, allocations: 99.16 kB / 0.9664 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.0285, allocations: 74.16 kB / 0.9665 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.02867, allocations: 346.8 kB / 0.9668 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.02898, allocations: 152.9 kB / 0.9669 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.0294, allocations: 291.1 kB / 0.9672 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.03018, allocations: 491.8 kB / 0.9677 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.03018, allocations: 4 kB / 0.9677 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001106/0.03128, allocations: 0.5618 MB / 0.9682 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.03131, allocations: 8 kB / 0.9682 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.03132, allocations: 4 kB / 0.9682 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003205/0.03164, allocations: 82.52 kB / 0.9683 GB, free: 9.238 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.032, allocations: 92.31 kB / 0.9684 GB, free: 9.148 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.03202, allocations: 12 kB / 0.9684 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.03229, allocations: 31.97 kB / 0.9685 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.03232, allocations: 19.98 kB / 0.9685 GB, free: 9.086 MB / 0.8731 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.0002098/0.03253, allocations: 185.6 kB / 0.9686 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.03261, allocations: 39.77 kB / 0.9687 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009655/0.03358, allocations: 459.9 kB / 0.9691 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.03359, allocations: 8 kB / 0.9691 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.03359, allocations: 0 / 0.9691 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.0336, allocations: 0 / 0.9691 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.03509, allocations: 0.8356 MB / 0.9699 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.0351, allocations: 0 / 0.9699 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.03535, allocations: 51.89 kB / 0.97 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002595/0.03561, allocations: 86.61 kB / 0.9701 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.03564, allocations: 11.98 kB / 0.9701 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.03564, allocations: 0 / 0.9701 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.03565, allocations: 3.938 kB / 0.9701 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009384/0.03659, allocations: 0.5435 MB / 0.9706 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.03672, allocations: 55.73 kB / 0.9707 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.288e-05/0.03677, allocations: 11.98 kB / 0.9707 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.037, allocations: 19.98 kB / 0.9707 GB, free: 6.668 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.03708, allocations: 27.89 kB / 0.9707 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.0371, allocations: 8 kB / 0.9707 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002356/0.03734, allocations: 223.2 kB / 0.971 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.03734, allocations: 0 / 0.971 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004195/0.03776, allocations: 84 kB / 0.971 GB, free: 6.336 MB / 0.8731 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.0001461/0.0379, allocations: 119 kB / 0.9712 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008654/0.03877, allocations: 390.1 kB / 0.9715 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.03877, allocations: 0 / 0.9715 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.03918, allocations: 200.9 kB / 0.9717 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.0399, allocations: 129 kB / 0.9718 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.04107, allocations: 0.7094 MB / 0.9725 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.0413, allocations: 224.1 kB / 0.9727 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002205/0.04152, allocations: 79.27 kB / 0.9728 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.04162, allocations: 32.5 kB / 0.9729 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.04162, allocations: 0 / 0.9729 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of Templates: time 0.01038/0.052, allocations: 4.772 MB / 0.9775 GB, free: 15.79 MB / 0.8887 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.9613787196576595]