Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001224/0.001224, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001811/0.003036, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001127/0.001127, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002554, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9578/0.9578, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09153/1.049, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.366/2.366, allocations: 446.7 MB / 0.6745 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2449/2.611, allocations: 145.9 MB / 0.817 GB, free: 4.168 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_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.[0-9,]+.|Z2.i.[0-9,]+.|Z3.i.[0-9,]+.|Z4.i.[0-9,]+.|Z5.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.907e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.875 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003415/0.003434, allocations: 3.908 MB / 0.8221 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.005237, allocations: 1.466 MB / 0.8235 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.005404, allocations: 39.62 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.005733, allocations: 182.6 kB / 0.8237 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.006132, allocations: 385.6 kB / 0.8241 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.006517, allocations: 339.3 kB / 0.8244 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006989/0.007216, allocations: 0.9798 MB / 0.8254 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.007531, allocations: 310.5 kB / 0.8257 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/0.007986, allocations: 0.5258 MB / 0.8262 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003454/0.008331, allocations: 339 kB / 0.8265 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.008374, allocations: 44 kB / 0.8266 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.008539, allocations: 111.7 kB / 0.8267 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.008653, allocations: 163.5 kB / 0.8268 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.008792, allocations: 175.6 kB / 0.827 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.009164, allocations: 490 kB / 0.8275 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.203e-05/0.009176, allocations: 3.984 kB / 0.8275 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.22e-07/0.009176, allocations: 0 / 0.8275 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.623e-05/0.009193, allocations: 0 / 0.8275 GB, free: 9.418 MB / 0.8073 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.000803/0.009996, allocations: 0.9507 MB / 0.8284 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.482e-05/0.01002, allocations: 8.625 kB / 0.8284 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004981/0.01052, allocations: 277.5 kB / 0.8287 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004597/0.01098, allocations: 499.1 kB / 0.8291 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.011, allocations: 29.38 kB / 0.8292 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.01104, allocations: 52.3 kB / 0.8292 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004656/0.01151, allocations: 0.7309 MB / 0.8299 GB, free: 6.652 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.01153, allocations: 8.109 kB / 0.8299 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.01156, allocations: 24.36 kB / 0.83 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/0.01161, allocations: 68.91 kB / 0.83 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.01183, allocations: 230.3 kB / 0.8303 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.01383, allocations: 4.17 MB / 0.8343 GB, free: 1.992 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.01409, allocations: 289.2 kB / 0.8346 GB, free: 1.699 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.01416, allocations: 56.84 kB / 0.8347 GB, free: 1.641 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.01418, allocations: 8 kB / 0.8347 GB, free: 1.633 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.0142, allocations: 38.56 kB / 0.8347 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=32): time 1.383e-06/0.0142, allocations: 0 / 0.8347 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0008507/0.01505, allocations: 0.5002 MB / 0.8352 GB, free: 1.059 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.01509, allocations: 59.67 kB / 0.8352 GB, free: 0.9883 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.01532, allocations: 446.9 kB / 0.8357 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01534, allocations: 33.7 kB / 0.8357 GB, free: 0.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.01549, allocations: 333.1 kB / 0.836 GB, free: 176 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.01555, allocations: 122.9 kB / 0.8361 GB, free: 52 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.01566, allocations: 110.2 kB / 0.8362 GB, free: 15.94 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.01577, allocations: 370.6 kB / 0.8366 GB, free: 15.57 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.01584, allocations: 61.28 kB / 0.8367 GB, free: 15.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.01603, allocations: 311.3 kB / 0.837 GB, free: 15.09 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.01638, allocations: 448.1 kB / 0.8374 GB, free: 14.53 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.01639, allocations: 8 kB / 0.8374 GB, free: 14.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0005156/0.0169, allocations: 479.2 kB / 0.8378 GB, free: 14.03 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01692, allocations: 11.94 kB / 0.8379 GB, free: 14.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.01693, allocations: 8 kB / 0.8379 GB, free: 14.01 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002342/0.01716, allocations: 127.2 kB / 0.838 GB, free: 13.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.0174, allocations: 123.8 kB / 0.8381 GB, free: 13.74 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.01917, allocations: 3.604 MB / 0.8416 GB, free: 9.848 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.01932, allocations: 20 kB / 0.8416 GB, free: 9.828 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.01934, allocations: 24 kB / 0.8417 GB, free: 9.805 MB / 0.823 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.000117/0.01946, allocations: 152.4 kB / 0.8418 GB, free: 9.645 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.0195, allocations: 51.95 kB / 0.8419 GB, free: 9.594 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.01985, allocations: 317.3 kB / 0.8422 GB, free: 9.25 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01985, allocations: 4 kB / 0.8422 GB, free: 9.246 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.01985, allocations: 4 kB / 0.8422 GB, free: 9.242 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.01986, allocations: 3.984 kB / 0.8422 GB, free: 9.238 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.0205, allocations: 0.6778 MB / 0.8428 GB, free: 8.492 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.0205, allocations: 0 / 0.8428 GB, free: 8.492 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.02063, allocations: 51.91 kB / 0.8429 GB, free: 8.441 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.02071, allocations: 75.77 kB / 0.843 GB, free: 8.367 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001936/0.0209, allocations: 118.3 kB / 0.8431 GB, free: 8.23 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.02092, allocations: 8 kB / 0.8431 GB, free: 8.223 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.02239, allocations: 3.594 MB / 0.8466 GB, free: 4.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.02239, allocations: 3.938 kB / 0.8466 GB, free: 4.336 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.02274, allocations: 466.1 kB / 0.847 GB, free: 3.82 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.02277, allocations: 8 kB / 0.847 GB, free: 3.812 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.02287, allocations: 11.94 kB / 0.8471 GB, free: 3.801 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.02292, allocations: 43.92 kB / 0.8471 GB, free: 3.758 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.02293, allocations: 8 kB / 0.8471 GB, free: 3.75 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001082/0.02303, allocations: 188.4 kB / 0.8473 GB, free: 3.566 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.02303, allocations: 0 / 0.8473 GB, free: 3.566 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003222/0.02336, allocations: 144 kB / 0.8474 GB, free: 3.426 MB / 0.823 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 9.503e-05/0.02345, allocations: 88.36 kB / 0.8475 GB, free: 3.328 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005254/0.02398, allocations: 0.6229 MB / 0.8481 GB, free: 2.66 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.74e-05/0.02399, allocations: 8.5 kB / 0.8481 GB, free: 2.652 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.02431, allocations: 479.4 kB / 0.8486 GB, free: 2.137 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.02485, allocations: 243 kB / 0.8488 GB, free: 1.91 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.02694, allocations: 1.012 MB / 0.8498 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.57e-05/0.02703, allocations: 150 kB / 0.8499 GB, free: 0.6719 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.02719, allocations: 73.11 kB / 0.85 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.02742, allocations: 185.3 kB / 0.8502 GB, free: 432 kB / 0.823 GB Notification: Performance of SimCode: time 7.21e-07/0.02742, allocations: 0 / 0.8502 GB, free: 432 kB / 0.823 GB Notification: Performance of Templates: time 0.01034/0.03776, allocations: 8.714 MB / 0.8587 GB, free: 7.898 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.301551722921431]