Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 120.1 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.73/1.73, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.89 kB / 1.057 GB, free: 1.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3465, allocations: 160.7 MB / 1.214 GB, free: 0.9258 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006053/0.3526, allocations: 3.799 MB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00346/0.356, allocations: 1.808 MB / 1.22 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.3563, allocations: 19.81 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009538/0.3572, allocations: 266.6 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007584/0.358, allocations: 314.4 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.3586, allocations: 247.5 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007863/0.3594, allocations: 0.6049 MB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.3598, allocations: 218.6 kB / 1.221 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.3602, allocations: 235.1 kB / 1.221 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.3606, allocations: 239 kB / 1.222 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.138e-05/0.3607, allocations: 28 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000602/0.3613, allocations: 283.3 kB / 1.222 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.3614, allocations: 123.6 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.3617, allocations: 218.7 kB / 1.222 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008309/0.3625, allocations: 0.5914 MB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3625, allocations: 0 / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3625, allocations: 0 / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.3625, allocations: 4 kB / 1.223 GB, free: 7.922 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.001416/0.3639, allocations: 0.7434 MB / 1.224 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.364, allocations: 16.03 kB / 1.224 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009779/0.3649, allocations: 136.5 kB / 1.224 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.3656, allocations: 407.9 kB / 1.224 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.3657, allocations: 25.02 kB / 1.224 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.3657, allocations: 28.38 kB / 1.224 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009351/0.3667, allocations: 0.5511 MB / 1.225 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.3667, allocations: 3.938 kB / 1.225 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.3667, allocations: 23.98 kB / 1.225 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.392e-05/0.3668, allocations: 44.53 kB / 1.225 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.3676, allocations: 409.7 kB / 1.225 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.371, allocations: 3.334 MB / 1.228 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/0.3717, allocations: 314.4 kB / 1.229 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.372, allocations: 164.7 kB / 1.229 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.3721, allocations: 4 kB / 1.229 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3721, allocations: 34.56 kB / 1.229 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.3721, allocations: 4 kB / 1.229 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=27): time 0.002313/0.3744, allocations: 1.067 MB / 1.23 GB, free: 152 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.3745, allocations: 55.64 kB / 1.23 GB, free: 84 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.3749, allocations: 329.7 kB / 1.23 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.3749, allocations: 29.7 kB / 1.23 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3751, allocations: 260 kB / 1.231 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.872e-05/0.3752, allocations: 99.17 kB / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.3753, allocations: 74.09 kB / 1.231 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3755, allocations: 350.8 kB / 1.231 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.3758, allocations: 148.8 kB / 1.231 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.3762, allocations: 290.5 kB / 1.231 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/0.3769, allocations: 487.2 kB / 1.232 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3769, allocations: 0 / 1.232 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001111/0.378, allocations: 0.5618 MB / 1.232 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.3781, allocations: 8 kB / 1.232 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.3781, allocations: 4 kB / 1.232 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003644/0.3784, allocations: 99.02 kB / 1.233 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.3788, allocations: 91.81 kB / 1.233 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.3788, allocations: 11.98 kB / 1.233 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.3791, allocations: 23.92 kB / 1.233 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.3792, allocations: 23.98 kB / 1.233 GB, free: 13.05 MB / 0.9825 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.0002671/0.3795, allocations: 169.6 kB / 1.233 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.722e-05/0.3796, allocations: 43.77 kB / 1.233 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.3806, allocations: 464 kB / 1.233 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3806, allocations: 0 / 1.233 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3806, allocations: 4 kB / 1.233 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3806, allocations: 3.984 kB / 1.233 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.3822, allocations: 0.9615 MB / 1.234 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3822, allocations: 4 kB / 1.234 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.3825, allocations: 55.89 kB / 1.234 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002904/0.3828, allocations: 82.59 kB / 1.234 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.3828, allocations: 8 kB / 1.234 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3828, allocations: 0 / 1.234 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.3828, allocations: 3.938 kB / 1.234 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.3838, allocations: 0.5474 MB / 1.235 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.3839, allocations: 140.8 kB / 1.235 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.384, allocations: 12 kB / 1.235 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.3842, allocations: 19.97 kB / 1.235 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.3843, allocations: 23.91 kB / 1.235 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3843, allocations: 11.94 kB / 1.235 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002995/0.3846, allocations: 243.2 kB / 1.235 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3846, allocations: 0 / 1.235 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004586/0.3851, allocations: 84 kB / 1.236 GB, free: 10.04 MB / 0.9825 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.0001638/0.3852, allocations: 111.1 kB / 1.236 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.3863, allocations: 0.6107 MB / 1.236 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3863, allocations: 0 / 1.236 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.3868, allocations: 422.9 kB / 1.237 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007284/0.3875, allocations: 134 kB / 1.237 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3889, allocations: 0.7685 MB / 1.237 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.3895, allocations: 0.8312 MB / 1.238 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.3896, allocations: 31.44 kB / 1.238 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/0.3896, allocations: 3.938 kB / 1.238 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of Templates: time 0.01433/0.404, allocations: 9.482 MB / 1.248 GB, free: 13.48 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.624428272014484]