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.001528/0.001528, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002054/0.002054, allocations: 155.8 kB / 23.01 MB, free: 4.949 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.745/2.745, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.003238/0.003238, allocations: 59.91 kB / 0.982 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153/1.156, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004396/1.161, allocations: 3.606 MB / 1.157 GB, free: 30.94 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002672/1.163, allocations: 1.76 MB / 1.159 GB, free: 29.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/1.164, allocations: 29.91 kB / 1.159 GB, free: 29.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008428/1.165, allocations: 266.8 kB / 1.159 GB, free: 29.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006086/1.165, allocations: 306.8 kB / 1.16 GB, free: 29.46 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/1.166, allocations: 250.9 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005248/1.166, allocations: 0.6125 MB / 1.161 GB, free: 29.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/1.167, allocations: 239.5 kB / 1.161 GB, free: 28.92 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/1.167, allocations: 243.1 kB / 1.161 GB, free: 28.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/1.167, allocations: 235.7 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.628e-05/1.167, allocations: 26.03 kB / 1.161 GB, free: 28.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/1.168, allocations: 247.5 kB / 1.162 GB, free: 28.65 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/1.168, allocations: 123.5 kB / 1.162 GB, free: 28.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/1.168, allocations: 172.3 kB / 1.162 GB, free: 28.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005785/1.168, allocations: 0.5943 MB / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.168, allocations: 0 / 1.162 GB, free: 28.3 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.543e-06/1.168, allocations: 4 kB / 1.162 GB, free: 28.29 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.137e-06/1.169, allocations: 0 / 1.162 GB, free: 28.29 MB / 1.076 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.001056/1.17, allocations: 0.6751 MB / 1.163 GB, free: 27.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.17, allocations: 11.91 kB / 1.163 GB, free: 27.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008323/1.17, allocations: 146.3 kB / 1.163 GB, free: 27.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/1.171, allocations: 333.5 kB / 1.164 GB, free: 27.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/1.171, allocations: 26.95 kB / 1.164 GB, free: 27.51 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/1.171, allocations: 34.23 kB / 1.164 GB, free: 27.5 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/1.172, allocations: 0.6261 MB / 1.164 GB, free: 27.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/1.172, allocations: 9.484 kB / 1.164 GB, free: 27.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/1.172, allocations: 12.41 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/1.172, allocations: 46.39 kB / 1.164 GB, free: 27.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/1.172, allocations: 407.4 kB / 1.165 GB, free: 26.9 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/1.174, allocations: 2.684 MB / 1.167 GB, free: 24.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/1.175, allocations: 312.4 kB / 1.168 GB, free: 24.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/1.175, allocations: 162.6 kB / 1.168 GB, free: 24.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/1.175, allocations: 6.469 kB / 1.168 GB, free: 24.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.175, allocations: 40.92 kB / 1.168 GB, free: 24.4 MB / 1.076 GB Notification: Performance of pre-optimization done (n=26): time 2.946e-06/1.175, allocations: 0 / 1.168 GB, free: 24.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.00178/1.177, allocations: 0.8355 MB / 1.169 GB, free: 24.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/1.177, allocations: 54.27 kB / 1.169 GB, free: 24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/1.177, allocations: 329.5 kB / 1.169 GB, free: 23.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/1.177, allocations: 35.8 kB / 1.169 GB, free: 23.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.177, allocations: 252 kB / 1.169 GB, free: 23.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/1.177, allocations: 103.8 kB / 1.169 GB, free: 23.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/1.177, allocations: 76.23 kB / 1.169 GB, free: 23.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/1.178, allocations: 344.4 kB / 1.17 GB, free: 23.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/1.178, allocations: 152.1 kB / 1.17 GB, free: 23.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/1.178, allocations: 294.4 kB / 1.17 GB, free: 22.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/1.179, allocations: 472.6 kB / 1.171 GB, free: 22.54 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.179, allocations: 4 kB / 1.171 GB, free: 22.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008458/1.179, allocations: 0.5663 MB / 1.171 GB, free: 22.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.179, allocations: 10.25 kB / 1.171 GB, free: 22.28 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.179, allocations: 9.375 kB / 1.171 GB, free: 22.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002845/1.18, allocations: 85.69 kB / 1.171 GB, free: 22.24 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/1.18, allocations: 89.97 kB / 1.171 GB, free: 22.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.18, allocations: 5.344 kB / 1.171 GB, free: 22.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/1.18, allocations: 30.92 kB / 1.171 GB, free: 22.22 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/1.18, allocations: 26.22 kB / 1.171 GB, free: 22.21 MB / 1.076 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.0001478/1.181, allocations: 173.1 kB / 1.172 GB, free: 22.06 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/1.181, allocations: 42.64 kB / 1.172 GB, free: 22.04 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007538/1.181, allocations: 460.4 kB / 1.172 GB, free: 21.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.181, allocations: 3.156 kB / 1.172 GB, free: 21.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.181, allocations: 0.7812 kB / 1.172 GB, free: 21.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.181, allocations: 5.734 kB / 1.172 GB, free: 21.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/1.183, allocations: 0.84 MB / 1.173 GB, free: 21.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/1.183, allocations: 1.031 kB / 1.173 GB, free: 21.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/1.183, allocations: 53.09 kB / 1.173 GB, free: 21.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/1.183, allocations: 86.12 kB / 1.173 GB, free: 21.31 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/1.183, allocations: 6.719 kB / 1.173 GB, free: 21.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/1.183, allocations: 5.688 kB / 1.173 GB, free: 21.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.183, allocations: 1.125 kB / 1.173 GB, free: 21.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/1.184, allocations: 0.5463 MB / 1.174 GB, free: 20.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.184, allocations: 59.39 kB / 1.174 GB, free: 20.96 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/1.184, allocations: 6.344 kB / 1.174 GB, free: 20.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/1.185, allocations: 20.44 kB / 1.174 GB, free: 20.95 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.085e-05/1.185, allocations: 24.58 kB / 1.174 GB, free: 20.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/1.185, allocations: 9.5 kB / 1.174 GB, free: 20.94 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001974/1.185, allocations: 227.1 kB / 1.174 GB, free: 20.82 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.185, allocations: 0 / 1.174 GB, free: 20.82 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004516/1.185, allocations: 84.69 kB / 1.174 GB, free: 20.81 MB / 1.076 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.0001154/1.185, allocations: 108.5 kB / 1.174 GB, free: 20.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007796/1.186, allocations: 405.3 kB / 1.174 GB, free: 20.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.186, allocations: 1.312 kB / 1.174 GB, free: 20.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/1.187, allocations: 196.2 kB / 1.175 GB, free: 20.49 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/1.187, allocations: 129.7 kB / 1.175 GB, free: 20.45 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/1.188, allocations: 0.7322 MB / 1.175 GB, free: 20.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/1.189, allocations: 223.9 kB / 1.176 GB, free: 19.93 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002129/1.189, allocations: 79.23 kB / 1.176 GB, free: 19.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/1.189, allocations: 28.56 kB / 1.176 GB, free: 19.9 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.189, allocations: 0 / 1.176 GB, free: 19.9 MB / 1.076 GB Notification: Performance of Templates: time 0.0112/1.2, allocations: 4.842 MB / 1.181 GB, free: 19.33 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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.412114624981768]