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.001712/0.001712, allocations: 103.6 kB / 18.94 MB, free: 2.688 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.001986/0.001986, allocations: 213.5 kB / 22.24 MB, free: 5.25 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.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 3.307/3.307, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 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.002029/0.002029, allocations: 77.69 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3959, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006979/0.4028, allocations: 4.606 MB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004199/0.407, allocations: 2.417 MB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002881/0.4073, allocations: 35.62 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.4086, allocations: 398 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.4097, allocations: 469.6 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009101/0.4106, allocations: 376.6 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.4118, allocations: 0.9178 MB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.4123, allocations: 314.4 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005274/0.4128, allocations: 362.6 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004862/0.4133, allocations: 342.5 kB / 1.335 GB, free: 7.672 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.4134, allocations: 40 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006872/0.4141, allocations: 351.2 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.4143, allocations: 191.3 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002617/0.4145, allocations: 254.7 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.4156, allocations: 0.8987 MB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4156, allocations: 3.938 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4156, allocations: 0 / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.4156, allocations: 4 kB / 1.337 GB, free: 5.941 MB / 1.029 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.001533/0.4171, allocations: 0.8875 MB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4172, allocations: 12.03 kB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/0.4184, allocations: 208.2 kB / 1.338 GB, free: 4.805 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009657/0.4194, allocations: 480.8 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.4194, allocations: 29.38 kB / 1.339 GB, free: 4.289 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.4195, allocations: 52.31 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.4209, allocations: 0.9703 MB / 1.34 GB, free: 3.098 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.4209, allocations: 7.938 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.421, allocations: 23.98 kB / 1.34 GB, free: 3.066 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001259/0.4211, allocations: 72.95 kB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009534/0.422, allocations: 0.5656 MB / 1.34 GB, free: 2.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00489/0.4269, allocations: 4.631 MB / 1.345 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006785/0.4276, allocations: 423.5 kB / 1.345 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.4279, allocations: 204.7 kB / 1.345 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.428, allocations: 7.984 kB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.428, allocations: 34.56 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 2.215e-06/0.428, allocations: 0 / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002626/0.4306, allocations: 1.132 MB / 1.347 GB, free: 11.79 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.4307, allocations: 59.62 kB / 1.347 GB, free: 11.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.4312, allocations: 466.7 kB / 1.347 GB, free: 11.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.4312, allocations: 33.7 kB / 1.347 GB, free: 11.21 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.4315, allocations: 372.2 kB / 1.348 GB, free: 10.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4316, allocations: 123 kB / 1.348 GB, free: 10.72 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.4318, allocations: 114.2 kB / 1.348 GB, free: 10.6 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.432, allocations: 358.8 kB / 1.348 GB, free: 10.24 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.4323, allocations: 197.2 kB / 1.348 GB, free: 10.05 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005119/0.4328, allocations: 447.9 kB / 1.349 GB, free: 9.496 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000954/0.4337, allocations: 0.6915 MB / 1.349 GB, free: 8.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4338, allocations: 4 kB / 1.349 GB, free: 8.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001316/0.4351, allocations: 0.7983 MB / 1.35 GB, free: 7.863 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4351, allocations: 12.03 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.4351, allocations: 8 kB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/0.4356, allocations: 152.1 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.436, allocations: 123.8 kB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/0.4397, allocations: 3.973 MB / 1.354 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.4401, allocations: 35.97 kB / 1.354 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.4401, allocations: 24 kB / 1.354 GB, free: 3.219 MB / 1.045 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.000281/0.4404, allocations: 213.6 kB / 1.355 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.4405, allocations: 59.61 kB / 1.355 GB, free: 2.941 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.4416, allocations: 0.6083 MB / 1.355 GB, free: 2.312 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4416, allocations: 4 kB / 1.355 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4416, allocations: 0 / 1.355 GB, free: 2.309 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4416, allocations: 11.86 kB / 1.355 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.4435, allocations: 1.113 MB / 1.356 GB, free: 1.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.4435, allocations: 7.984 kB / 1.356 GB, free: 1.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.4437, allocations: 47.95 kB / 1.356 GB, free: 1.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003928/0.4441, allocations: 152.3 kB / 1.357 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.4442, allocations: 11.98 kB / 1.357 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003607/0.4478, allocations: 3.953 MB / 1.36 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4478, allocations: 7.938 kB / 1.36 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.4488, allocations: 0.7043 MB / 1.361 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.449, allocations: 79.62 kB / 1.361 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.4491, allocations: 8 kB / 1.361 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.4493, allocations: 23.97 kB / 1.361 GB, free: 11.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.4494, allocations: 35.88 kB / 1.361 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.4494, allocations: 12 kB / 1.361 GB, free: 11.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003364/0.4498, allocations: 298.9 kB / 1.362 GB, free: 11.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4498, allocations: 0 / 1.362 GB, free: 11.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006272/0.4504, allocations: 140 kB / 1.362 GB, free: 11.27 MB / 1.061 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.0001598/0.4506, allocations: 114 kB / 1.362 GB, free: 11.15 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.4521, allocations: 0.8586 MB / 1.363 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4521, allocations: 0 / 1.363 GB, free: 10.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.4529, allocations: 0.5728 MB / 1.363 GB, free: 9.633 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009144/0.4538, allocations: 203 kB / 1.363 GB, free: 9.441 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.4555, allocations: 1.04 MB / 1.364 GB, free: 8.348 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.4558, allocations: 315.4 kB / 1.365 GB, free: 8.008 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002993/0.4561, allocations: 113 kB / 1.365 GB, free: 7.895 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.4562, allocations: 35.44 kB / 1.365 GB, free: 7.863 MB / 1.061 GB Notification: Performance of SimCode: time 7.51e-07/0.4562, allocations: 0 / 1.365 GB, free: 7.863 MB / 1.061 GB Notification: Performance of Templates: time 0.0162/0.4724, allocations: 8.503 MB / 1.373 GB, free: 15.57 MB / 1.076 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 10.133049547672272]