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.001385/0.001385, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.001524/0.001524, allocations: 191.7 kB / 22.23 MB, free: 5.227 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.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 443.4 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002025/0.002025, allocations: 71.88 kB / 1.061 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107/1.109, allocations: 160.8 MB / 1.218 GB, free: 3.723 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02792/1.137, allocations: 21.24 MB / 1.239 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01339/1.15, allocations: 6.687 MB / 1.246 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002797/1.153, allocations: 115.1 kB / 1.246 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.006855/1.16, allocations: 2.337 MB / 1.248 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005257/1.165, allocations: 1.236 MB / 1.249 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00454/1.17, allocations: 1.316 MB / 1.251 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008345/1.178, allocations: 4.866 MB / 1.255 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007115/1.185, allocations: 2.949 MB / 1.258 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004627/1.19, allocations: 2.146 MB / 1.26 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005415/1.195, allocations: 2.469 MB / 1.263 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001808/1.197, allocations: 432 kB / 1.263 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003624/1.201, allocations: 1.018 MB / 1.264 GB, free: 8.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.003443/1.204, allocations: 1.707 MB / 1.266 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.005084/1.209, allocations: 1.922 MB / 1.268 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/1.221, allocations: 6.532 MB / 1.274 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.221, allocations: 0 / 1.274 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/1.221, allocations: 4 kB / 1.274 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002831/1.221, allocations: 0 / 1.274 GB, free: 14.07 MB / 0.9825 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.01159/1.232, allocations: 3.541 MB / 1.278 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/1.233, allocations: 11.97 kB / 1.278 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004775/1.237, allocations: 0.6507 MB / 1.278 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006549/1.244, allocations: 2.054 MB / 1.28 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/1.244, allocations: 226.3 kB / 1.28 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/1.246, allocations: 296.3 kB / 1.281 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/1.26, allocations: 4.894 MB / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002136/1.26, allocations: 7.938 kB / 1.285 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001222/1.261, allocations: 124 kB / 1.286 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005932/1.262, allocations: 229.7 kB / 1.286 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009635/1.272, allocations: 3.75 MB / 1.289 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03165/1.303, allocations: 21.44 MB / 1.31 GB, free: 6.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/1.305, allocations: 1.23 MB / 1.312 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/1.307, allocations: 0.9953 MB / 1.313 GB, free: 4.281 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/1.307, allocations: 17 kB / 1.313 GB, free: 4.266 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.801e-05/1.307, allocations: 43.56 kB / 1.313 GB, free: 4.215 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.085e-06/1.307, allocations: 0 / 1.313 GB, free: 4.215 MB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.02533/1.332, allocations: 8.665 MB / 1.321 GB, free: 11.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/1.332, allocations: 64.72 kB / 1.321 GB, free: 11.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/1.334, allocations: 1.138 MB / 1.322 GB, free: 10.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/1.335, allocations: 45.7 kB / 1.322 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.336, allocations: 1.335 MB / 1.324 GB, free: 8.875 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005949/1.336, allocations: 0.4958 MB / 1.324 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005422/1.337, allocations: 291.5 kB / 1.324 GB, free: 8.082 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.337, allocations: 305.1 kB / 1.325 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/1.338, allocations: 0.9096 MB / 1.326 GB, free: 6.871 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001821/1.34, allocations: 1.33 MB / 1.327 GB, free: 5.367 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003451/1.344, allocations: 2.43 MB / 1.329 GB, free: 2.77 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.344, allocations: 4 kB / 1.329 GB, free: 2.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006753/1.351, allocations: 3.43 MB / 1.333 GB, free: 15.31 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.351, allocations: 8 kB / 1.333 GB, free: 15.3 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/1.351, allocations: 12 kB / 1.333 GB, free: 15.29 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00338/1.354, allocations: 1.184 MB / 1.334 GB, free: 14.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.355, allocations: 255.6 kB / 1.334 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01953/1.375, allocations: 13.86 MB / 1.348 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/1.376, allocations: 91.97 kB / 1.348 GB, free: 15.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/1.376, allocations: 67.98 kB / 1.348 GB, free: 15.43 MB / 1.061 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.002308/1.379, allocations: 1.114 MB / 1.349 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/1.379, allocations: 167 kB / 1.349 GB, free: 14.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006261/1.386, allocations: 3.134 MB / 1.352 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/1.386, allocations: 16 kB / 1.352 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-05/1.386, allocations: 15.94 kB / 1.352 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/1.386, allocations: 7.969 kB / 1.352 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/1.398, allocations: 6.206 MB / 1.358 GB, free: 4.598 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.398, allocations: 4 kB / 1.358 GB, free: 4.594 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/1.399, allocations: 143.8 kB / 1.358 GB, free: 4.453 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003072/1.402, allocations: 1.076 MB / 1.359 GB, free: 3.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/1.402, allocations: 24 kB / 1.359 GB, free: 3.348 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/1.421, allocations: 13.55 MB / 1.373 GB, free: 5.379 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/1.421, allocations: 7.984 kB / 1.373 GB, free: 5.371 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006111/1.427, allocations: 3.12 MB / 1.376 GB, free: 2.168 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.429, allocations: 431.9 kB / 1.376 GB, free: 1.727 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/1.429, allocations: 27.94 kB / 1.376 GB, free: 1.699 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/1.43, allocations: 83.89 kB / 1.376 GB, free: 1.617 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005222/1.431, allocations: 132.6 kB / 1.376 GB, free: 1.488 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.431, allocations: 40 kB / 1.376 GB, free: 1.449 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001682/1.432, allocations: 0.7671 MB / 1.377 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.432, allocations: 0 / 1.377 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002908/1.435, allocations: 0.6602 MB / 1.378 GB, free: 20 kB / 1.076 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.0003271/1.436, allocations: 143 kB / 1.378 GB, free: 15.87 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005557/1.441, allocations: 3.005 MB / 1.381 GB, free: 12.83 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.441, allocations: 0.75 kB / 1.381 GB, free: 12.83 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003958/1.445, allocations: 1.884 MB / 1.383 GB, free: 10.9 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/1.449, allocations: 0.4978 MB / 1.383 GB, free: 10.42 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.462, allocations: 5.545 MB / 1.389 GB, free: 4.785 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003703/1.466, allocations: 2.332 MB / 1.391 GB, free: 2.422 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001329/1.467, allocations: 346.1 kB / 1.391 GB, free: 2.078 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/1.467, allocations: 99.42 kB / 1.391 GB, free: 1.98 MB / 1.092 GB Notification: Performance of SimCode: time 1.884e-06/1.467, allocations: 0 / 1.391 GB, free: 1.98 MB / 1.092 GB Notification: Performance of Templates: time 0.06724/1.534, allocations: 34.78 MB / 1.425 GB, free: 15.63 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.70714463479817]