Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.00135/0.00135, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001513/0.001513, allocations: 160.3 kB / 23 MB, free: 4.957 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.432/1.432, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.78/2.78, allocations: 377.9 MB / 0.6228 GB, free: 12.64 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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [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.002341/0.002341, allocations: 65.77 kB / 0.982 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9886/0.9909, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005188/0.9961, allocations: 4.608 MB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003316/0.9994, allocations: 2.416 MB / 1.161 GB, free: 28.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.9997, allocations: 35.09 kB / 1.161 GB, free: 28.74 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/1.001, allocations: 414.1 kB / 1.161 GB, free: 28.5 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007573/1.002, allocations: 464.5 kB / 1.162 GB, free: 28.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/1.002, allocations: 373.2 kB / 1.162 GB, free: 28.05 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006671/1.003, allocations: 0.9158 MB / 1.163 GB, free: 27.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003657/1.003, allocations: 318 kB / 1.163 GB, free: 27.47 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003623/1.004, allocations: 358 kB / 1.164 GB, free: 27.32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00036/1.004, allocations: 341.6 kB / 1.164 GB, free: 27.19 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/1.004, allocations: 37.62 kB / 1.164 GB, free: 27.19 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/1.004, allocations: 360.9 kB / 1.164 GB, free: 27.08 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/1.005, allocations: 188 kB / 1.164 GB, free: 26.99 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/1.005, allocations: 262.2 kB / 1.165 GB, free: 26.86 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007507/1.006, allocations: 0.8993 MB / 1.166 GB, free: 26.54 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.006, allocations: 4 kB / 1.166 GB, free: 26.54 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.282e-06/1.006, allocations: 0 / 1.166 GB, free: 26.54 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.006, allocations: 0 / 1.166 GB, free: 26.54 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001086/1.007, allocations: 0.8777 MB / 1.166 GB, free: 25.91 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/1.007, allocations: 14.5 kB / 1.166 GB, free: 25.91 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/1.008, allocations: 205.2 kB / 1.167 GB, free: 25.86 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/1.009, allocations: 486.5 kB / 1.167 GB, free: 25.57 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/1.009, allocations: 33.11 kB / 1.167 GB, free: 25.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.27e-05/1.009, allocations: 50.31 kB / 1.167 GB, free: 25.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/1.009, allocations: 0.9755 MB / 1.168 GB, free: 24.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/1.009, allocations: 6.656 kB / 1.168 GB, free: 24.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/1.009, allocations: 20.25 kB / 1.168 GB, free: 24.77 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.296e-05/1.01, allocations: 70.02 kB / 1.168 GB, free: 24.76 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006464/1.01, allocations: 0.5645 MB / 1.169 GB, free: 24.56 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/1.013, allocations: 4.633 MB / 1.173 GB, free: 20.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/1.013, allocations: 424.9 kB / 1.174 GB, free: 20.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/1.014, allocations: 200.6 kB / 1.174 GB, free: 20.31 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/1.014, allocations: 2.906 kB / 1.174 GB, free: 20.31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/1.014, allocations: 44.94 kB / 1.174 GB, free: 20.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 1.714e-06/1.014, allocations: 1 kB / 1.174 GB, free: 20.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002529/1.016, allocations: 1.132 MB / 1.175 GB, free: 19.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/1.016, allocations: 63.56 kB / 1.175 GB, free: 19.72 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/1.017, allocations: 467.6 kB / 1.176 GB, free: 19.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/1.017, allocations: 30.83 kB / 1.176 GB, free: 19.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/1.017, allocations: 375.2 kB / 1.176 GB, free: 19.15 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/1.017, allocations: 123.1 kB / 1.176 GB, free: 19.05 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/1.017, allocations: 112.8 kB / 1.176 GB, free: 18.99 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/1.017, allocations: 358 kB / 1.176 GB, free: 18.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/1.017, allocations: 197 kB / 1.177 GB, free: 18.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/1.018, allocations: 444.5 kB / 1.177 GB, free: 18.21 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/1.018, allocations: 0.6929 MB / 1.178 GB, free: 17.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/1.018, allocations: 3.25 kB / 1.178 GB, free: 17.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001089/1.019, allocations: 0.8022 MB / 1.179 GB, free: 17.33 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.019, allocations: 11.48 kB / 1.179 GB, free: 17.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.019, allocations: 9.281 kB / 1.179 GB, free: 17.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/1.02, allocations: 147.4 kB / 1.179 GB, free: 17.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/1.02, allocations: 127.9 kB / 1.179 GB, free: 17.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/1.022, allocations: 3.972 MB / 1.183 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/1.023, allocations: 32.06 kB / 1.183 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/1.023, allocations: 31.2 kB / 1.183 GB, free: 13.45 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002168/1.023, allocations: 215.3 kB / 1.183 GB, free: 13.28 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.868e-05/1.023, allocations: 64.83 kB / 1.183 GB, free: 13.24 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008994/1.024, allocations: 0.5946 MB / 1.184 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.024, allocations: 2.75 kB / 1.184 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/1.024, allocations: 2.75 kB / 1.184 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.024, allocations: 3.422 kB / 1.184 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/1.026, allocations: 1.107 MB / 1.185 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.026, allocations: 1.812 kB / 1.185 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/1.026, allocations: 58.91 kB / 1.185 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003806/1.026, allocations: 148.3 kB / 1.185 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/1.026, allocations: 6.812 kB / 1.185 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/1.029, allocations: 3.957 MB / 1.189 GB, free: 8.488 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/1.029, allocations: 10.62 kB / 1.189 GB, free: 8.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/1.03, allocations: 0.7029 MB / 1.189 GB, free: 8.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/1.03, allocations: 81.62 kB / 1.19 GB, free: 8.031 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/1.03, allocations: 8.578 kB / 1.19 GB, free: 8.027 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/1.031, allocations: 22.73 kB / 1.19 GB, free: 8.023 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/1.031, allocations: 37.86 kB / 1.19 GB, free: 8.012 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/1.031, allocations: 13 kB / 1.19 GB, free: 8.008 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004911/1.031, allocations: 299.4 kB / 1.19 GB, free: 7.867 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/1.031, allocations: 5.031 kB / 1.19 GB, free: 7.863 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001024/1.032, allocations: 141.1 kB / 1.19 GB, free: 7.848 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002628/1.033, allocations: 110.3 kB / 1.19 GB, free: 7.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001867/1.034, allocations: 0.8633 MB / 1.191 GB, free: 7.227 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.034, allocations: 1.188 kB / 1.191 GB, free: 7.227 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007753/1.035, allocations: 0.5728 MB / 1.192 GB, free: 6.805 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/1.036, allocations: 193.5 kB / 1.192 GB, free: 6.734 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/1.038, allocations: 1.045 MB / 1.193 GB, free: 6.133 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/1.038, allocations: 308 kB / 1.193 GB, free: 6.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003085/1.039, allocations: 114 kB / 1.193 GB, free: 5.996 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/1.039, allocations: 36.88 kB / 1.193 GB, free: 5.988 MB / 1.076 GB Notification: Performance of SimCode: time 7.31e-07/1.039, allocations: 0.8125 kB / 1.193 GB, free: 5.988 MB / 1.076 GB Notification: Performance of Templates: time 0.01664/1.055, allocations: 7.806 MB / 1.201 GB, free: 5.121 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.228663409943692]