Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001388/0.001388, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00166/0.00166, allocations: 220.7 kB / 23 MB, free: 4.914 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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 3.219/3.219, allocations: 0.5107 GB / 0.8166 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.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_latest_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_latest_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.002117/0.002117, allocations: 65.02 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4002, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007469/0.4076, allocations: 4.616 MB / 1.369 GB, free: 8.918 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004627/0.4123, allocations: 2.401 MB / 1.371 GB, free: 6.508 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005129/0.4128, allocations: 43.56 kB / 1.372 GB, free: 6.465 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/0.4142, allocations: 405.9 kB / 1.372 GB, free: 6.066 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.4155, allocations: 465.7 kB / 1.372 GB, free: 5.609 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.4165, allocations: 376.9 kB / 1.373 GB, free: 5.242 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.4178, allocations: 0.9177 MB / 1.374 GB, free: 4.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005953/0.4184, allocations: 314.4 kB / 1.374 GB, free: 4.004 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007179/0.4191, allocations: 358.6 kB / 1.374 GB, free: 3.652 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.4198, allocations: 346.4 kB / 1.375 GB, free: 3.312 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.249e-05/0.4199, allocations: 40 kB / 1.375 GB, free: 3.273 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.4205, allocations: 359.2 kB / 1.375 GB, free: 2.922 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.4208, allocations: 187.3 kB / 1.375 GB, free: 2.738 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.4211, allocations: 258.7 kB / 1.375 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.4221, allocations: 0.891 MB / 1.376 GB, free: 1.59 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4221, allocations: 0 / 1.376 GB, free: 1.59 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4221, allocations: 0 / 1.376 GB, free: 1.59 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.4221, allocations: 0 / 1.376 GB, free: 1.59 MB / 1.061 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.00149/0.4236, allocations: 0.8935 MB / 1.377 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4236, allocations: 8.031 kB / 1.377 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.4249, allocations: 200.3 kB / 1.377 GB, free: 468 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009099/0.4258, allocations: 488.7 kB / 1.378 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.4258, allocations: 29.38 kB / 1.378 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.4259, allocations: 48.36 kB / 1.378 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.4271, allocations: 0.9742 MB / 1.379 GB, free: 14.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.4272, allocations: 7.938 kB / 1.379 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.4272, allocations: 23.98 kB / 1.379 GB, free: 14.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.384e-05/0.4273, allocations: 64.95 kB / 1.379 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008889/0.4282, allocations: 0.5616 MB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004485/0.4327, allocations: 4.639 MB / 1.384 GB, free: 9.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006569/0.4333, allocations: 418.2 kB / 1.384 GB, free: 8.852 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.4336, allocations: 204.7 kB / 1.385 GB, free: 8.648 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.4337, allocations: 4 kB / 1.385 GB, free: 8.645 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.4337, allocations: 34.56 kB / 1.385 GB, free: 8.602 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.4337, allocations: 7.938 kB / 1.385 GB, free: 8.594 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002424/0.4361, allocations: 1.129 MB / 1.386 GB, free: 7.441 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.4362, allocations: 59.62 kB / 1.386 GB, free: 7.371 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.4367, allocations: 470.7 kB / 1.386 GB, free: 6.902 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.4367, allocations: 29.7 kB / 1.386 GB, free: 6.867 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.437, allocations: 372.2 kB / 1.387 GB, free: 6.496 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4371, allocations: 123 kB / 1.387 GB, free: 6.375 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.4373, allocations: 114.2 kB / 1.387 GB, free: 6.258 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4375, allocations: 358.8 kB / 1.387 GB, free: 5.898 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.4378, allocations: 201.2 kB / 1.387 GB, free: 5.699 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.4383, allocations: 447 kB / 1.388 GB, free: 5.148 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.4392, allocations: 0.6954 MB / 1.388 GB, free: 4.336 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4392, allocations: 0 / 1.388 GB, free: 4.336 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001306/0.4405, allocations: 0.8054 MB / 1.389 GB, free: 3.508 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4405, allocations: 8 kB / 1.389 GB, free: 3.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.4405, allocations: 12 kB / 1.389 GB, free: 3.488 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.441, allocations: 152.8 kB / 1.389 GB, free: 3.324 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.4415, allocations: 127.7 kB / 1.39 GB, free: 3.199 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/0.4451, allocations: 3.965 MB / 1.393 GB, free: 14.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.4455, allocations: 35.97 kB / 1.393 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-05/0.4455, allocations: 28 kB / 1.393 GB, free: 14.86 MB / 1.092 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.0002716/0.4458, allocations: 212.6 kB / 1.394 GB, free: 14.65 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.4459, allocations: 67.55 kB / 1.394 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001068/0.447, allocations: 0.5963 MB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.447, allocations: 4 kB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.447, allocations: 4 kB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.447, allocations: 0 / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.4488, allocations: 1.12 MB / 1.395 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.4488, allocations: 4 kB / 1.395 GB, free: 12.76 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.449, allocations: 51.89 kB / 1.395 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003944/0.4494, allocations: 144.2 kB / 1.396 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.4495, allocations: 8 kB / 1.396 GB, free: 12.54 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.453, allocations: 3.966 MB / 1.399 GB, free: 8.27 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.453, allocations: 3.938 kB / 1.4 GB, free: 8.266 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.454, allocations: 0.6963 MB / 1.4 GB, free: 7.516 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.4543, allocations: 87.58 kB / 1.4 GB, free: 7.43 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.4543, allocations: 8 kB / 1.4 GB, free: 7.422 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.4546, allocations: 23.97 kB / 1.4 GB, free: 7.398 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.4547, allocations: 39.97 kB / 1.4 GB, free: 7.359 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.4547, allocations: 16 kB / 1.4 GB, free: 7.344 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003593/0.455, allocations: 298.9 kB / 1.401 GB, free: 7.055 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/0.455, allocations: 0 / 1.401 GB, free: 7.055 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006512/0.4557, allocations: 143.9 kB / 1.401 GB, free: 6.914 MB / 1.092 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.0001591/0.4558, allocations: 113.7 kB / 1.401 GB, free: 6.797 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.4573, allocations: 0.8632 MB / 1.402 GB, free: 5.891 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4573, allocations: 0 / 1.402 GB, free: 5.891 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008312/0.4581, allocations: 0.564 MB / 1.402 GB, free: 5.281 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009469/0.459, allocations: 201.9 kB / 1.402 GB, free: 5.09 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.4607, allocations: 1.099 MB / 1.404 GB, free: 3.93 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.4611, allocations: 303.4 kB / 1.404 GB, free: 3.605 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.4612, allocations: 43.44 kB / 1.404 GB, free: 3.562 MB / 1.092 GB Notification: Performance of SimCode: time 5.31e-07/0.4612, allocations: 0 / 1.404 GB, free: 3.562 MB / 1.092 GB Notification: Performance of Templates: time 0.0226/0.4838, allocations: 18.08 MB / 1.422 GB, free: 1.512 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.084581073839217]