Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001043/0.001043, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001686/0.002728, allocations: 449.8 kB / 10.44 MB, free: 252 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.001025/0.001025, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.00241, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9619/0.9619, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1092/1.071, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.818/1.818, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4913/2.309, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.461e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003198/0.003213, allocations: 3.356 MB / 0.7329 GB, free: 1.121 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.004902, allocations: 1.235 MB / 0.7341 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.005041, allocations: 25.47 kB / 0.7341 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.005399, allocations: 151 kB / 0.7343 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.005709, allocations: 301.1 kB / 0.7346 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.005971, allocations: 233.6 kB / 0.7348 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004869/0.006458, allocations: 0.7296 MB / 0.7355 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.006715, allocations: 235.9 kB / 0.7357 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.007136, allocations: 403.6 kB / 0.7361 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.007513, allocations: 268.6 kB / 0.7364 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.007553, allocations: 28 kB / 0.7364 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.007718, allocations: 92.52 kB / 0.7365 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.346e-05/0.007811, allocations: 135.6 kB / 0.7366 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.007909, allocations: 129.4 kB / 0.7367 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.008244, allocations: 386.4 kB / 0.7371 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.008254, allocations: 0 / 0.7371 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.008255, allocations: 0 / 0.7371 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.008267, allocations: 0.6875 kB / 0.7371 GB, free: 12.81 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0006879/0.008955, allocations: 0.7498 MB / 0.7379 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.008988, allocations: 8.906 kB / 0.7379 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000755/0.009743, allocations: 281.5 kB / 0.7381 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.01014, allocations: 363.6 kB / 0.7385 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.01016, allocations: 25.36 kB / 0.7385 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.368e-05/0.0102, allocations: 37.19 kB / 0.7385 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.01059, allocations: 0.5258 MB / 0.739 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.01061, allocations: 5.219 kB / 0.7391 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.01063, allocations: 19.98 kB / 0.7391 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/0.01069, allocations: 51.95 kB / 0.7391 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.01089, allocations: 189.9 kB / 0.7393 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.01239, allocations: 2.824 MB / 0.7421 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.01308, allocations: 0.5085 MB / 0.7426 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/0.01314, allocations: 55.59 kB / 0.7426 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.01316, allocations: 8 kB / 0.7426 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.01318, allocations: 42.48 kB / 0.7427 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.01319, allocations: 4.938 kB / 0.7427 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0007296/0.01392, allocations: 439.7 kB / 0.7431 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.01395, allocations: 106.8 kB / 0.7432 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.01414, allocations: 363 kB / 0.7435 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.01416, allocations: 33.7 kB / 0.7436 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01426, allocations: 260.6 kB / 0.7438 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.099e-05/0.01432, allocations: 118.9 kB / 0.7439 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.714e-05/0.01441, allocations: 100.7 kB / 0.744 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/0.01449, allocations: 354.7 kB / 0.7444 GB, free: 5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.01455, allocations: 53.3 kB / 0.7444 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.01469, allocations: 268.2 kB / 0.7447 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.01496, allocations: 396 kB / 0.745 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.01497, allocations: 5.812 kB / 0.745 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0003909/0.01536, allocations: 387.9 kB / 0.7454 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01537, allocations: 8.656 kB / 0.7454 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01538, allocations: 4 kB / 0.7454 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.01557, allocations: 83.94 kB / 0.7455 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.01578, allocations: 119.8 kB / 0.7456 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001825/0.0176, allocations: 3.597 MB / 0.7491 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.01776, allocations: 23.94 kB / 0.7492 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.01778, allocations: 20 kB / 0.7492 GB, free: 15.58 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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 9.568e-05/0.01787, allocations: 147.2 kB / 0.7493 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.01793, allocations: 43.95 kB / 0.7494 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.01823, allocations: 271.5 kB / 0.7496 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01823, allocations: 4 kB / 0.7496 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.01824, allocations: 3.984 kB / 0.7496 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01824, allocations: 0 / 0.7496 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/0.01906, allocations: 0.8856 MB / 0.7505 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.01906, allocations: 4 kB / 0.7505 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.01918, allocations: 60.53 kB / 0.7506 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.01925, allocations: 60.38 kB / 0.7506 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001409/0.01939, allocations: 76.88 kB / 0.7507 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.0194, allocations: 9.062 kB / 0.7507 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.02111, allocations: 3.603 MB / 0.7542 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.02111, allocations: 5.969 kB / 0.7542 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.02149, allocations: 0.671 MB / 0.7549 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.02151, allocations: 15.92 kB / 0.7549 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.02165, allocations: 8 kB / 0.7549 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.02169, allocations: 40.73 kB / 0.7549 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.0217, allocations: 8 kB / 0.7549 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.704e-05/0.0218, allocations: 142.4 kB / 0.7551 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.1e-08/0.0218, allocations: 0 / 0.7551 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000369/0.02217, allocations: 120 kB / 0.7552 GB, free: 8.977 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0001052/0.02227, allocations: 98.91 kB / 0.7553 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004943/0.02277, allocations: 0.593 MB / 0.7559 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.907e-05/0.02279, allocations: 9 kB / 0.7559 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.02309, allocations: 471.4 kB / 0.7563 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007269/0.02382, allocations: 1.126 MB / 0.7574 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002329/0.02615, allocations: 0.8821 MB / 0.7583 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.61e-05/0.02625, allocations: 137.6 kB / 0.7584 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.02638, allocations: 61.95 kB / 0.7585 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.02656, allocations: 146.1 kB / 0.7586 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/0.02656, allocations: 0 / 0.7586 GB, free: 5.098 MB / 0.7292 GB Notification: Performance of Templates: time 0.008616/0.03518, allocations: 6.502 MB / 0.765 GB, free: 14.8 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.94084716681391]