Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001821/0.001821, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.002309/0.002309, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.476/1.476, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63.91 kB / 1.057 GB, free: 1.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3353, allocations: 160.7 MB / 1.214 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02693/0.3622, allocations: 20.59 MB / 1.234 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.3753, allocations: 6.523 MB / 1.241 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.3778, allocations: 87.56 kB / 1.241 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006404/0.3842, allocations: 2.279 MB / 1.243 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00393/0.3882, allocations: 1.244 MB / 1.244 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/0.3921, allocations: 1.282 MB / 1.245 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007603/0.3997, allocations: 4.858 MB / 1.25 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006444/0.4061, allocations: 4.229 MB / 1.254 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.4101, allocations: 2.115 MB / 1.256 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005125/0.4153, allocations: 2.477 MB / 1.259 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001653/0.4169, allocations: 428 kB / 1.259 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003519/0.4204, allocations: 1.022 MB / 1.26 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.8382/1.259, allocations: 1.71 MB / 1.262 GB, free: 19.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003869/1.263, allocations: 1.91 MB / 1.264 GB, free: 19.07 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008937/1.271, allocations: 6.534 MB / 1.27 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.272, allocations: 0 / 1.27 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.945e-06/1.272, allocations: 2.531 kB / 1.27 GB, free: 18.44 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002095/1.272, allocations: 0.5312 kB / 1.27 GB, free: 18.44 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01014/1.282, allocations: 3.54 MB / 1.273 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/1.282, allocations: 10.7 kB / 1.273 GB, free: 16.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004085/1.286, allocations: 0.6468 MB / 1.274 GB, free: 16.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/1.291, allocations: 2.061 MB / 1.276 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/1.292, allocations: 222.1 kB / 1.276 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008451/1.292, allocations: 293.7 kB / 1.277 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/1.305, allocations: 4.892 MB / 1.281 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/1.305, allocations: 12.89 kB / 1.281 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000427/1.305, allocations: 128.6 kB / 1.282 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006779/1.306, allocations: 231.7 kB / 1.282 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009429/1.315, allocations: 3.747 MB / 1.285 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03121/1.347, allocations: 21.43 MB / 1.306 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/1.349, allocations: 1.233 MB / 1.308 GB, free: 15.62 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002059/1.351, allocations: 0.9977 MB / 1.309 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/1.351, allocations: 11.31 kB / 1.309 GB, free: 15.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/1.351, allocations: 47.73 kB / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.807e-06/1.351, allocations: 0 / 1.309 GB, free: 15.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.02995/1.381, allocations: 8.663 MB / 1.317 GB, free: 12.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/1.381, allocations: 66.5 kB / 1.317 GB, free: 12.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002657/1.384, allocations: 1.126 MB / 1.318 GB, free: 11.9 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/1.384, allocations: 47.36 kB / 1.318 GB, free: 11.86 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001267/1.385, allocations: 1.334 MB / 1.32 GB, free: 10.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007128/1.386, allocations: 0.5035 MB / 1.32 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000716/1.387, allocations: 292.8 kB / 1.32 GB, free: 10.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.387, allocations: 305.1 kB / 1.321 GB, free: 10 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/1.389, allocations: 0.9194 MB / 1.321 GB, free: 9.656 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/1.391, allocations: 1.323 MB / 1.323 GB, free: 8.828 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/1.395, allocations: 2.426 MB / 1.325 GB, free: 7.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.216e-05/1.395, allocations: 2.906 kB / 1.325 GB, free: 7.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.008051/1.403, allocations: 3.429 MB / 1.329 GB, free: 6.258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/1.403, allocations: 11.09 kB / 1.329 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/1.403, allocations: 10.94 kB / 1.329 GB, free: 6.258 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003726/1.407, allocations: 1.189 MB / 1.33 GB, free: 5.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.408, allocations: 258.5 kB / 1.33 GB, free: 5.941 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02137/1.429, allocations: 13.86 MB / 1.343 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/1.431, allocations: 88.69 kB / 1.344 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003968/1.431, allocations: 62.69 kB / 1.344 GB, free: 12.48 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002897/1.434, allocations: 1.109 MB / 1.345 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006687/1.435, allocations: 168.2 kB / 1.345 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007296/1.442, allocations: 3.13 MB / 1.348 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/1.442, allocations: 14.12 kB / 1.348 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.888e-05/1.442, allocations: 11.78 kB / 1.348 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/1.442, allocations: 11.91 kB / 1.348 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/1.457, allocations: 6.206 MB / 1.354 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/1.457, allocations: 8.688 kB / 1.354 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005988/1.457, allocations: 145.8 kB / 1.354 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00309/1.46, allocations: 1.079 MB / 1.355 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/1.461, allocations: 33.7 kB / 1.355 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/1.479, allocations: 13.54 MB / 1.368 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.479, allocations: 8.438 kB / 1.368 GB, free: 11.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/1.485, allocations: 3.119 MB / 1.372 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.486, allocations: 431.2 kB / 1.372 GB, free: 9.625 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005576/1.487, allocations: 31.19 kB / 1.372 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.488, allocations: 85.86 kB / 1.372 GB, free: 9.559 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/1.488, allocations: 123.6 kB / 1.372 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.489, allocations: 35.47 kB / 1.372 GB, free: 9.484 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00155/1.49, allocations: 0.7691 MB / 1.373 GB, free: 9.055 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.49, allocations: 0 / 1.373 GB, free: 9.055 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003291/1.493, allocations: 0.6573 MB / 1.374 GB, free: 8.551 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003505/1.494, allocations: 149.8 kB / 1.374 GB, free: 8.406 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005876/1.5, allocations: 3.005 MB / 1.377 GB, free: 5.43 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.5, allocations: 4 kB / 1.377 GB, free: 5.426 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.003426/1.503, allocations: 1.881 MB / 1.379 GB, free: 3.531 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/1.506, allocations: 0.501 MB / 1.379 GB, free: 3.059 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/1.518, allocations: 5.893 MB / 1.385 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002947/1.521, allocations: 2.383 MB / 1.387 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/1.522, allocations: 99.44 kB / 1.387 GB, free: 10.6 MB / 1.061 GB Notification: Performance of SimCode: time 1.222e-06/1.522, allocations: 0 / 1.387 GB, free: 10.6 MB / 1.061 GB Notification: Performance of Templates: time 0.1027/1.625, allocations: 79.73 MB / 1.465 GB, free: 11.04 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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: 17.719256445998326]