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.001327/0.001327, allocations: 79.2 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.001444/0.001444, allocations: 163.3 kB / 22.46 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.792/1.792, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.974/2.974, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.971e-05, allocations: 2.281 kB / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005097/0.005127, allocations: 3.592 MB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003026/0.008153, allocations: 1.749 MB / 1.005 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.008378, allocations: 23.81 kB / 1.005 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009279/0.009306, allocations: 275.5 kB / 1.006 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007071/0.01001, allocations: 330 kB / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005999/0.01061, allocations: 258.1 kB / 1.006 GB, free: 1.027 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007077/0.01132, allocations: 0.6205 MB / 1.007 GB, free: 412 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003968/0.01172, allocations: 230.6 kB / 1.007 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005152/0.01223, allocations: 343.1 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.01255, allocations: 199.4 kB / 1.008 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.01261, allocations: 32 kB / 1.008 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.01301, allocations: 247.2 kB / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.01316, allocations: 135.5 kB / 1.008 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.01333, allocations: 143.6 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007324/0.01406, allocations: 0.6035 MB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01407, allocations: 0 / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.11e-07/0.01407, allocations: 0 / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.01408, allocations: 0 / 1.009 GB, free: 14.49 MB / 0.9669 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.001142/0.01522, allocations: 0.6642 MB / 1.009 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.01525, allocations: 11.97 kB / 1.009 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.01613, allocations: 140.5 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.01668, allocations: 344.7 kB / 1.01 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.0167, allocations: 25.03 kB / 1.01 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.01676, allocations: 32.3 kB / 1.01 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008872/0.01765, allocations: 0.6272 MB / 1.01 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.01767, allocations: 7.938 kB / 1.01 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.01771, allocations: 15.98 kB / 1.01 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.406e-05/0.01777, allocations: 40.62 kB / 1.011 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007099/0.01848, allocations: 406.1 kB / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.02113, allocations: 2.683 MB / 1.014 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/0.0218, allocations: 310.5 kB / 1.014 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.0221, allocations: 164.7 kB / 1.014 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.02212, allocations: 0 / 1.014 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.02215, allocations: 38.5 kB / 1.014 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.122e-06/0.02215, allocations: 0 / 1.014 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27): time 0.002031/0.02418, allocations: 0.8345 MB / 1.015 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.02422, allocations: 55.64 kB / 1.015 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.02457, allocations: 333.4 kB / 1.015 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.02459, allocations: 37.7 kB / 1.015 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.02477, allocations: 248 kB / 1.015 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.02485, allocations: 103.2 kB / 1.016 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.02497, allocations: 74.16 kB / 1.016 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.02513, allocations: 342.8 kB / 1.016 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002931/0.02542, allocations: 148.9 kB / 1.016 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.0258, allocations: 289.4 kB / 1.016 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.02651, allocations: 486.3 kB / 1.017 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.02652, allocations: 4 kB / 1.017 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001039/0.02756, allocations: 0.5658 MB / 1.017 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.02757, allocations: 8 kB / 1.017 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.02758, allocations: 8.562 kB / 1.017 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.0279, allocations: 86.52 kB / 1.017 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.02826, allocations: 91.81 kB / 1.018 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.02827, allocations: 8 kB / 1.018 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.02854, allocations: 27.97 kB / 1.018 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/0.02857, allocations: 16 kB / 1.018 GB, free: 4.797 MB / 0.9669 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.0002199/0.02879, allocations: 186.1 kB / 1.018 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.02886, allocations: 39.77 kB / 1.018 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009065/0.02976, allocations: 460 kB / 1.018 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.02977, allocations: 4 kB / 1.018 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.02977, allocations: 0 / 1.018 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.02978, allocations: 3.984 kB / 1.018 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.03118, allocations: 0.8465 MB / 1.019 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.03119, allocations: 8.094 kB / 1.019 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.03144, allocations: 51.89 kB / 1.019 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002453/0.03169, allocations: 86.5 kB / 1.019 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.03171, allocations: 4 kB / 1.019 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.03171, allocations: 4 kB / 1.019 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.03171, allocations: 3.938 kB / 1.019 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008664/0.03258, allocations: 0.5391 MB / 1.02 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.03271, allocations: 59.73 kB / 1.02 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.03276, allocations: 11.98 kB / 1.02 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.03298, allocations: 19.97 kB / 1.02 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.03305, allocations: 15.97 kB / 1.02 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.03307, allocations: 12 kB / 1.02 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002211/0.0333, allocations: 223.2 kB / 1.02 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.0333, allocations: 0 / 1.02 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004116/0.03371, allocations: 84 kB / 1.02 GB, free: 2.039 MB / 0.9669 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.0001482/0.03386, allocations: 119 kB / 1.02 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008036/0.03466, allocations: 399.9 kB / 1.021 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.03466, allocations: 0 / 1.021 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.03504, allocations: 194.5 kB / 1.021 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006993/0.03574, allocations: 121.5 kB / 1.021 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.03683, allocations: 0.7055 MB / 1.022 GB, free: 468 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.03704, allocations: 224.1 kB / 1.022 GB, free: 220 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002116/0.03726, allocations: 83.23 kB / 1.022 GB, free: 136 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.03734, allocations: 32.44 kB / 1.022 GB, free: 104 kB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.03734, allocations: 0 / 1.022 GB, free: 104 kB / 0.9669 GB Notification: Performance of Templates: time 0.009923/0.04726, allocations: 4.778 MB / 1.027 GB, free: 11.46 MB / 0.9825 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/jenkins/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.482103206217289]