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.001358/0.001358, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001479/0.001479, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 475.9 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002149/0.002149, allocations: 64.27 kB / 1.117 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3438, allocations: 169.9 MB / 1.283 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005784/0.3496, allocations: 3.623 MB / 1.287 GB, free: 116 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.3533, allocations: 1.754 MB / 1.288 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.3535, allocations: 19.81 kB / 1.288 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.3545, allocations: 278.2 kB / 1.289 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007171/0.3552, allocations: 314.4 kB / 1.289 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.3559, allocations: 239.5 kB / 1.289 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000751/0.3566, allocations: 0.6168 MB / 1.29 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/0.3572, allocations: 234.5 kB / 1.29 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000425/0.3576, allocations: 255.1 kB / 1.29 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.358, allocations: 231 kB / 1.29 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.358, allocations: 28 kB / 1.29 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.3585, allocations: 243.4 kB / 1.291 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.3586, allocations: 115.6 kB / 1.291 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.3588, allocations: 175.1 kB / 1.291 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008858/0.3597, allocations: 0.5991 MB / 1.291 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3597, allocations: 0 / 1.291 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3597, allocations: 0 / 1.291 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.3597, allocations: 0 / 1.291 GB, free: 11.04 MB / 0.9981 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.001355/0.3611, allocations: 0.6798 MB / 1.292 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3611, allocations: 8.031 kB / 1.292 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.362, allocations: 132.5 kB / 1.292 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.3627, allocations: 345.3 kB / 1.293 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.3627, allocations: 21.03 kB / 1.293 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.227e-05/0.3628, allocations: 36.36 kB / 1.293 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009617/0.3637, allocations: 0.6303 MB / 1.293 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.3638, allocations: 11.89 kB / 1.293 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.3638, allocations: 15.98 kB / 1.293 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-05/0.3639, allocations: 40.62 kB / 1.293 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/0.3646, allocations: 414.1 kB / 1.294 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.3678, allocations: 2.687 MB / 1.296 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007283/0.3685, allocations: 308.5 kB / 1.297 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.3688, allocations: 164.8 kB / 1.297 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3688, allocations: 0 / 1.297 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3689, allocations: 34.56 kB / 1.297 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.343e-06/0.3689, allocations: 4 kB / 1.297 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.002109/0.371, allocations: 0.8407 MB / 1.298 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.371, allocations: 59.64 kB / 1.298 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.3714, allocations: 325.5 kB / 1.298 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.3714, allocations: 29.7 kB / 1.298 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.3716, allocations: 252 kB / 1.298 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3717, allocations: 107 kB / 1.298 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.3719, allocations: 78.09 kB / 1.298 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002343/0.3721, allocations: 346.8 kB / 1.299 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.3724, allocations: 148.7 kB / 1.299 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00053/0.3729, allocations: 294.5 kB / 1.299 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007812/0.3737, allocations: 482.5 kB / 1.3 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.3737, allocations: 4 kB / 1.3 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001093/0.3748, allocations: 0.5584 MB / 1.3 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3748, allocations: 12.06 kB / 1.3 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3748, allocations: 4 kB / 1.3 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003369/0.3752, allocations: 86.52 kB / 1.3 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.3756, allocations: 87.81 kB / 1.3 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.3756, allocations: 8 kB / 1.3 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.3758, allocations: 31.97 kB / 1.3 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.3759, allocations: 23.94 kB / 1.3 GB, free: 1.316 MB / 0.9981 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.0002263/0.3761, allocations: 184.1 kB / 1.301 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.3762, allocations: 35.77 kB / 1.301 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009764/0.3771, allocations: 468.2 kB / 1.301 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3772, allocations: 4 kB / 1.301 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3772, allocations: 0 / 1.301 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3772, allocations: 3.984 kB / 1.301 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.3788, allocations: 0.8459 MB / 1.302 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3788, allocations: 3.984 kB / 1.302 GB, free: 15.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.379, allocations: 51.91 kB / 1.302 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.3793, allocations: 86.44 kB / 1.302 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.3793, allocations: 4 kB / 1.302 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3793, allocations: 4 kB / 1.302 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.3793, allocations: 3.938 kB / 1.302 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009019/0.3802, allocations: 0.547 MB / 1.303 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.3804, allocations: 59.73 kB / 1.303 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.3804, allocations: 8 kB / 1.303 GB, free: 14.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.3807, allocations: 19.97 kB / 1.303 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.3808, allocations: 27.89 kB / 1.303 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.3808, allocations: 8 kB / 1.303 GB, free: 14.85 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002385/0.381, allocations: 219.2 kB / 1.303 GB, free: 14.64 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.381, allocations: 0 / 1.303 GB, free: 14.64 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004256/0.3814, allocations: 95.92 kB / 1.303 GB, free: 14.55 MB / 1.014 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.0001486/0.3816, allocations: 103.2 kB / 1.303 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009153/0.3825, allocations: 407.2 kB / 1.304 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3825, allocations: 0 / 1.304 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/0.3829, allocations: 182.3 kB / 1.304 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007017/0.3836, allocations: 134.7 kB / 1.304 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3848, allocations: 0.7269 MB / 1.305 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002428/0.385, allocations: 220.1 kB / 1.305 GB, free: 12.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002329/0.3853, allocations: 87.27 kB / 1.305 GB, free: 12.63 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.3854, allocations: 27.44 kB / 1.305 GB, free: 12.6 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.3854, allocations: 0 / 1.305 GB, free: 12.6 MB / 1.014 GB Notification: Performance of Templates: time 0.01079/0.3962, allocations: 5.292 MB / 1.31 GB, free: 7.453 MB / 1.014 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: 9.051731795072556]