Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 188.4 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 443.5 MB / 0.7321 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,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_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 1.061 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 160.8 MB / 1.218 GB, free: 3.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.008828/1.014, allocations: 5.048 MB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005519/1.02, allocations: 2.559 MB / 1.226 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/1.021, allocations: 40.31 kB / 1.226 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/1.022, allocations: 428.3 kB / 1.226 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/1.024, allocations: 463.1 kB / 1.227 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/1.025, allocations: 408.4 kB / 1.227 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001553/1.026, allocations: 0.9242 MB / 1.228 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006044/1.027, allocations: 269.1 kB / 1.228 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006449/1.028, allocations: 356.7 kB / 1.229 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006041/1.028, allocations: 366.8 kB / 1.229 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/1.028, allocations: 37.78 kB / 1.229 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/1.029, allocations: 406.8 kB / 1.229 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/1.03, allocations: 195.2 kB / 1.23 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003978/1.03, allocations: 319.7 kB / 1.23 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/1.032, allocations: 0.9024 MB / 1.231 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.032, allocations: 0 / 1.231 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.595e-06/1.032, allocations: 5.281 kB / 1.231 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.032, allocations: 0 / 1.231 GB, free: 10.54 MB / 0.9356 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.001822/1.033, allocations: 0.9623 MB / 1.232 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.033, allocations: 16.03 kB / 1.232 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/1.035, allocations: 204.2 kB / 1.232 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/1.036, allocations: 0.5573 MB / 1.233 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/1.036, allocations: 29.38 kB / 1.233 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/1.036, allocations: 48.34 kB / 1.233 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.037, allocations: 0.8485 MB / 1.233 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/1.037, allocations: 11.94 kB / 1.233 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/1.037, allocations: 23.98 kB / 1.233 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/1.037, allocations: 68.89 kB / 1.234 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009162/1.038, allocations: 0.5656 MB / 1.234 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006258/1.045, allocations: 5.651 MB / 1.24 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/1.045, allocations: 430.1 kB / 1.24 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/1.046, allocations: 204.7 kB / 1.24 GB, free: 372 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/1.046, allocations: 4.531 kB / 1.24 GB, free: 368 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.046, allocations: 34.56 kB / 1.24 GB, free: 324 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 3.155e-06/1.046, allocations: 0 / 1.24 GB, free: 324 kB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002973/1.049, allocations: 1.52 MB / 1.242 GB, free: 14.68 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/1.049, allocations: 55.69 kB / 1.242 GB, free: 14.61 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006391/1.049, allocations: 0.4991 MB / 1.242 GB, free: 14.11 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/1.049, allocations: 29.7 kB / 1.242 GB, free: 14.07 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/1.05, allocations: 367.7 kB / 1.243 GB, free: 13.71 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.05, allocations: 123 kB / 1.243 GB, free: 13.59 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/1.05, allocations: 114.2 kB / 1.243 GB, free: 13.47 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0002033/1.05, allocations: 366.8 kB / 1.243 GB, free: 13.1 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/1.051, allocations: 197.2 kB / 1.243 GB, free: 12.91 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/1.051, allocations: 455.2 kB / 1.244 GB, free: 12.35 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/1.052, allocations: 0.6796 MB / 1.244 GB, free: 11.55 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.052, allocations: 4 kB / 1.244 GB, free: 11.55 MB / 0.9513 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001352/1.054, allocations: 0.8131 MB / 1.245 GB, free: 10.71 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/1.054, allocations: 11.5 kB / 1.245 GB, free: 10.71 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.054, allocations: 11.94 kB / 1.245 GB, free: 10.7 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005534/1.054, allocations: 160.1 kB / 1.245 GB, free: 10.52 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/1.055, allocations: 119.8 kB / 1.246 GB, free: 10.41 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004271/1.059, allocations: 4.36 MB / 1.25 GB, free: 5.625 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/1.059, allocations: 31.97 kB / 1.25 GB, free: 5.594 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/1.059, allocations: 28 kB / 1.25 GB, free: 5.566 MB / 0.9513 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.0003515/1.06, allocations: 217.4 kB / 1.25 GB, free: 5.344 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/1.06, allocations: 59.62 kB / 1.25 GB, free: 5.285 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/1.061, allocations: 0.601 MB / 1.251 GB, free: 4.66 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.061, allocations: 4 kB / 1.251 GB, free: 4.656 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/1.061, allocations: 3.938 kB / 1.251 GB, free: 4.652 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.061, allocations: 0 / 1.251 GB, free: 4.652 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/1.063, allocations: 1.263 MB / 1.252 GB, free: 3.297 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.063, allocations: 4 kB / 1.252 GB, free: 3.293 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/1.063, allocations: 47.95 kB / 1.252 GB, free: 3.246 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004112/1.064, allocations: 144.3 kB / 1.252 GB, free: 3.09 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/1.064, allocations: 11.94 kB / 1.252 GB, free: 3.078 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004094/1.068, allocations: 4.342 MB / 1.256 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.068, allocations: 4 kB / 1.256 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/1.069, allocations: 0.7119 MB / 1.257 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/1.07, allocations: 172.6 kB / 1.257 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/1.07, allocations: 11.94 kB / 1.257 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003352/1.07, allocations: 23.97 kB / 1.257 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/1.07, allocations: 35.88 kB / 1.257 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/1.07, allocations: 8 kB / 1.257 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004186/1.07, allocations: 342.8 kB / 1.258 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/1.07, allocations: 0 / 1.258 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007008/1.071, allocations: 143.9 kB / 1.258 GB, free: 12.81 MB / 0.9669 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.0001726/1.071, allocations: 107.2 kB / 1.258 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001526/1.073, allocations: 1.018 MB / 1.259 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.073, allocations: 0 / 1.259 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.074, allocations: 0.7267 MB / 1.26 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/1.075, allocations: 208.2 kB / 1.26 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/1.077, allocations: 1.074 MB / 1.261 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/1.078, allocations: 0.9059 MB / 1.262 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003888/1.078, allocations: 121.3 kB / 1.262 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/1.078, allocations: 35.44 kB / 1.262 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of SimCode: time 1.403e-06/1.078, allocations: 4 kB / 1.262 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of Templates: time 0.01768/1.096, allocations: 8.054 MB / 1.27 GB, free: 424 kB / 0.9669 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.5176284275949]