Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001124/0.001124, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001717/0.002841, 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.0008715/0.0008715, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009289/0.0018, 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.9238/0.9238, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.113/1.037, 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.457/2.457, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2568/2.714, allocations: 145.9 MB / 0.817 GB, free: 4.242 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.[0-9,]+.|R2.load1.i.[0-9,]+.|R3.load1.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.985e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02307/0.0231, allocations: 20.5 MB / 0.8383 GB, free: 14.33 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.03896, allocations: 10.52 MB / 0.8486 GB, free: 3.781 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00363/0.04259, allocations: 210.4 kB / 0.8488 GB, free: 3.574 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.04542, allocations: 0.9073 MB / 0.8497 GB, free: 2.66 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.007475/0.0529, allocations: 3.183 MB / 0.8528 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00385/0.05675, allocations: 1.837 MB / 0.8546 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.06688, allocations: 9.955 MB / 0.8643 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006492/0.07337, allocations: 5.486 MB / 0.8697 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01109/0.08446, allocations: 6.3 MB / 0.8758 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006844/0.09131, allocations: 4.364 MB / 0.8801 GB, free: 3.285 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002024/0.09333, allocations: 0.707 MB / 0.8808 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.09652, allocations: 0.8044 MB / 0.8816 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.004042/0.1006, allocations: 2.869 MB / 0.8844 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.005286/0.1058, allocations: 2.008 MB / 0.8863 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.007355/0.1132, allocations: 5.485 MB / 0.8917 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.141e-05/0.1132, allocations: 0 / 0.8917 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1132, allocations: 0 / 0.8917 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003921/0.1136, allocations: 7.938 kB / 0.8917 GB, free: 7.379 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.009886/0.1235, allocations: 6.898 MB / 0.8984 GB, free: 432 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1235, allocations: 12.61 kB / 0.8984 GB, free: 420 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.1274, allocations: 1.573 MB / 0.9 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/0.1322, allocations: 2.698 MB / 0.9026 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.1324, allocations: 378.4 kB / 0.903 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000764/0.1332, allocations: 0.5003 MB / 0.9035 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006397/0.1396, allocations: 4.881 MB / 0.9082 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.1397, allocations: 27.72 kB / 0.9082 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003219/0.14, allocations: 216 kB / 0.9085 GB, free: 5.59 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000461/0.1405, allocations: 361.7 kB / 0.9088 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.1427, allocations: 1.3 MB / 0.9101 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.1602, allocations: 16.66 MB / 0.9263 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008604/0.161, allocations: 0.8009 MB / 0.9271 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007116/0.1617, allocations: 0.6161 MB / 0.9277 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.221e-05/0.1618, allocations: 30 kB / 0.9278 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.1619, allocations: 60.56 kB / 0.9278 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=171): time 4.839e-06/0.1619, allocations: 0 / 0.9278 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of matching and sorting (n=174): time 0.01393/0.1758, allocations: 6.581 MB / 0.9342 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.1758, allocations: 73.39 kB / 0.9343 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.1774, allocations: 1.683 MB / 0.936 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.1775, allocations: 61.7 kB / 0.936 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008028/0.1783, allocations: 1.991 MB / 0.938 GB, free: 6.777 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003736/0.1787, allocations: 0.6273 MB / 0.9386 GB, free: 6.145 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.179, allocations: 359.7 kB / 0.9389 GB, free: 5.785 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.1791, allocations: 309.1 kB / 0.9392 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.1794, allocations: 256.2 kB / 0.9394 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000604/0.1801, allocations: 0.8288 MB / 0.9403 GB, free: 4.148 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.1812, allocations: 1.32 MB / 0.9415 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.1812, allocations: 4 kB / 0.9416 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002827/0.184, allocations: 1.998 MB / 0.9435 GB, free: 0.5664 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.1841, allocations: 19.94 kB / 0.9435 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.1841, allocations: 16 kB / 0.9435 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/0.1867, allocations: 1.202 MB / 0.9447 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008374/0.1876, allocations: 391.4 kB / 0.9451 GB, free: 14.94 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00768/0.1952, allocations: 7.666 MB / 0.9526 GB, free: 6.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.1966, allocations: 67.98 kB / 0.9526 GB, free: 6.914 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.1967, allocations: 71.94 kB / 0.9527 GB, free: 6.844 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (187): * Single equations (assignments): 184 * 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 {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001082/0.1978, allocations: 236.1 kB / 0.9529 GB, free: 6.602 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.1981, allocations: 239.7 kB / 0.9532 GB, free: 6.367 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.2005, allocations: 1.763 MB / 0.9549 GB, free: 4.57 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.2005, allocations: 23.88 kB / 0.9549 GB, free: 4.547 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/0.2005, allocations: 20 kB / 0.9549 GB, free: 4.527 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.2005, allocations: 7.969 kB / 0.9549 GB, free: 4.52 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.2063, allocations: 3.618 MB / 0.9585 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.2064, allocations: 4 kB / 0.9585 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.207, allocations: 199.7 kB / 0.9587 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.208, allocations: 362.1 kB / 0.959 GB, free: 256 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003662/0.2117, allocations: 1.181 MB / 0.9602 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/0.212, allocations: 39.94 kB / 0.9602 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.2226, allocations: 7.645 MB / 0.9677 GB, free: 7.082 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/0.2226, allocations: 7.938 kB / 0.9677 GB, free: 7.074 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/0.2261, allocations: 1.882 MB / 0.9695 GB, free: 5.121 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005429/0.2267, allocations: 39.92 kB / 0.9695 GB, free: 5.082 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.2275, allocations: 40 kB / 0.9696 GB, free: 5.043 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/0.2279, allocations: 156.9 kB / 0.9697 GB, free: 4.891 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.529e-05/0.228, allocations: 40 kB / 0.9698 GB, free: 4.852 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001076/0.2291, allocations: 0.843 MB / 0.9706 GB, free: 3.996 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.2291, allocations: 0 / 0.9706 GB, free: 3.996 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002929/0.232, allocations: 1.086 MB / 0.9717 GB, free: 2.91 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 87 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002437/0.2323, allocations: 132.3 kB / 0.9718 GB, free: 2.77 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003494/0.2358, allocations: 2.147 MB / 0.9739 GB, free: 0.582 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 0.0001031/0.2359, allocations: 57.73 kB / 0.9739 GB, free: 0.5195 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00243/0.2383, allocations: 1.577 MB / 0.9755 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/0.2418, allocations: 1.198 MB / 0.9766 GB, free: 13.73 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04419/0.286, allocations: 8.201 MB / 0.9846 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.2876, allocations: 1.246 MB / 0.9859 GB, free: 4.145 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001322/0.289, allocations: 335 kB / 0.9862 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/0.2902, allocations: 0.741 MB / 0.9869 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of SimCode: time 2.735e-06/0.2902, allocations: 0 / 0.9869 GB, free: 3.055 MB / 0.9636 GB Notification: Performance of Templates: time 0.4498/0.74, allocations: 57.68 MB / 1.043 GB, free: 171.2 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 7.278654262423515]