Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001823/0.001823, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002184/0.002184, allocations: 196.6 kB / 22.17 MB, free: 5.656 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.44/1.44, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7645 GB, free: 10.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 75.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.751/0.7531, allocations: 168.7 MB / 1.274 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02284/0.7759, allocations: 16.79 MB / 1.29 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00913/0.7851, allocations: 4.968 MB / 1.295 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.7865, allocations: 67.62 kB / 1.295 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.7898, allocations: 1.088 MB / 1.296 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.7922, allocations: 0.7816 MB / 1.297 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.7949, allocations: 0.9432 MB / 1.298 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004784/0.7997, allocations: 3.622 MB / 1.302 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003886/0.8036, allocations: 2.296 MB / 1.304 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.806, allocations: 1.589 MB / 1.305 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.8089, allocations: 1.885 MB / 1.307 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007651/0.8097, allocations: 340 kB / 1.308 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.8114, allocations: 0.8114 MB / 1.308 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.813, allocations: 1.36 MB / 1.31 GB, free: 15.72 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.8148, allocations: 1.463 MB / 1.311 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005857/0.8207, allocations: 5.144 MB / 1.316 GB, free: 9.094 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8207, allocations: 0 / 1.316 GB, free: 9.094 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8207, allocations: 0 / 1.316 GB, free: 9.094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001027/0.8208, allocations: 0 / 1.316 GB, free: 9.094 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005456/0.8262, allocations: 2.717 MB / 1.319 GB, free: 6.312 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.8263, allocations: 15.95 kB / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004154/0.8304, allocations: 0.8343 MB / 1.32 GB, free: 5.461 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003739/0.8342, allocations: 1.576 MB / 1.321 GB, free: 3.836 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.8343, allocations: 181.1 kB / 1.321 GB, free: 3.656 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004529/0.8348, allocations: 240.3 kB / 1.322 GB, free: 3.422 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007979/0.8428, allocations: 4.161 MB / 1.326 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.8428, allocations: 7.953 kB / 1.326 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/0.8431, allocations: 104 kB / 1.326 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002438/0.8434, allocations: 168.5 kB / 1.326 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0072/0.8506, allocations: 3.632 MB / 1.329 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02397/0.8745, allocations: 16.43 MB / 1.346 GB, free: 9.336 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/0.8783, allocations: 2.246 MB / 1.348 GB, free: 6.887 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009541/0.8792, allocations: 0.5512 MB / 1.348 GB, free: 6.328 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.8794, allocations: 93.61 kB / 1.348 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.8794, allocations: 47.11 kB / 1.348 GB, free: 6.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=72): time 3.086e-06/0.8794, allocations: 0 / 1.348 GB, free: 6.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=76): time 0.006185/0.8856, allocations: 3.503 MB / 1.352 GB, free: 2.562 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.726e-05/0.8857, allocations: 115.5 kB / 1.352 GB, free: 2.422 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.8873, allocations: 1.018 MB / 1.353 GB, free: 1.379 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.8873, allocations: 33.7 kB / 1.353 GB, free: 1.34 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008908/0.8882, allocations: 1.142 MB / 1.354 GB, free: 188 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.8885, allocations: 289.8 kB / 1.354 GB, free: 15.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.889, allocations: 283.4 kB / 1.355 GB, free: 15.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002637/0.8892, allocations: 410.7 kB / 1.355 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.8903, allocations: 0.6207 MB / 1.356 GB, free: 14.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.8919, allocations: 1.185 MB / 1.357 GB, free: 13.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.8944, allocations: 1.872 MB / 1.359 GB, free: 11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.8944, allocations: 4 kB / 1.359 GB, free: 10.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003535/0.898, allocations: 2.015 MB / 1.361 GB, free: 8.957 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.675e-05/0.898, allocations: 23.98 kB / 1.361 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.898, allocations: 16 kB / 1.361 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/0.8985, allocations: 171.3 kB / 1.361 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.8997, allocations: 343.4 kB / 1.361 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.715e-05/0.8997, allocations: 35.86 kB / 1.361 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.9007, allocations: 131.8 kB / 1.361 GB, free: 8.238 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.9009, allocations: 68 kB / 1.361 GB, free: 8.172 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.001477/0.9023, allocations: 0.9732 MB / 1.362 GB, free: 7.188 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.9026, allocations: 119.2 kB / 1.362 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.9048, allocations: 1.222 MB / 1.364 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.9048, allocations: 11.98 kB / 1.364 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.9048, allocations: 4 kB / 1.364 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.9048, allocations: 3.984 kB / 1.364 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006386/0.9112, allocations: 3.786 MB / 1.367 GB, free: 1.875 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.9112, allocations: 256 / 1.367 GB, free: 1.875 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.9119, allocations: 171.8 kB / 1.367 GB, free: 1.707 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003904/0.9123, allocations: 139.3 kB / 1.368 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.9124, allocations: 16 kB / 1.368 GB, free: 1.543 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.9124, allocations: 11.92 kB / 1.368 GB, free: 1.531 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9124, allocations: 4 kB / 1.368 GB, free: 1.527 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.9147, allocations: 1.474 MB / 1.369 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005901/0.9152, allocations: 276.3 kB / 1.369 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.9154, allocations: 20 kB / 1.369 GB, free: 15.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.916, allocations: 63.91 kB / 1.369 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.9161, allocations: 64.36 kB / 1.369 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.551e-05/0.9162, allocations: 20 kB / 1.369 GB, free: 15.54 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001039/0.9172, allocations: 0.6992 MB / 1.37 GB, free: 14.83 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9172, allocations: 0 / 1.37 GB, free: 14.83 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001436/0.9187, allocations: 391.9 kB / 1.371 GB, free: 14.45 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.0002364/0.9189, allocations: 127.1 kB / 1.371 GB, free: 14.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002649/0.9215, allocations: 1.664 MB / 1.372 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.9215, allocations: 0 / 1.372 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.9226, allocations: 0.8267 MB / 1.373 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.9242, allocations: 272.6 kB / 1.373 GB, free: 11.4 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006735/0.9309, allocations: 3.856 MB / 1.377 GB, free: 7.484 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/0.9329, allocations: 1.916 MB / 1.379 GB, free: 5.531 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001171/0.9341, allocations: 449.6 kB / 1.379 GB, free: 5.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.9343, allocations: 79.44 kB / 1.38 GB, free: 5.012 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/0.9343, allocations: 0 / 1.38 GB, free: 5.012 MB / 1.076 GB Notification: Performance of Templates: time 0.02871/0.963, allocations: 14.16 MB / 1.393 GB, free: 6.977 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.007100258022547]