Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001352/0.001352, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.001362/0.001362, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.477/1.477, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.789/2.789, allocations: 443.5 MB / 0.7293 GB, free: 14.48 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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 67.89 kB / 1.057 GB, free: 1.922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.306, allocations: 160.7 MB / 1.214 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04351/0.3495, allocations: 35.46 MB / 1.249 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01978/0.3693, allocations: 11.63 MB / 1.26 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/0.3722, allocations: 159.2 kB / 1.26 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.5919/0.9641, allocations: 4.313 MB / 1.264 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005953/0.9701, allocations: 2.083 MB / 1.266 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006527/0.9766, allocations: 2.42 MB / 1.269 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01232/0.9889, allocations: 8.461 MB / 1.277 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01772/1.007, allocations: 8.42 MB / 1.285 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/1.017, allocations: 3.801 MB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/1.028, allocations: 4.424 MB / 1.293 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.004425/1.032, allocations: 0.7836 MB / 1.294 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008197/1.041, allocations: 2.062 MB / 1.296 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.008138/1.049, allocations: 3.138 MB / 1.299 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0122/1.061, allocations: 3.4 MB / 1.303 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02387/1.085, allocations: 12.01 MB / 1.314 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.085, allocations: 5.344 kB / 1.314 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/1.085, allocations: 0 / 1.314 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004672/1.085, allocations: 0 / 1.314 GB, free: 6.203 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02571/1.111, allocations: 5.947 MB / 1.32 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/1.111, allocations: 9.344 kB / 1.32 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008612/1.12, allocations: 1.091 MB / 1.321 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009024/1.129, allocations: 3.468 MB / 1.325 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005422/1.129, allocations: 412.4 kB / 1.325 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002974/1.132, allocations: 0.5407 MB / 1.325 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02572/1.158, allocations: 9.077 MB / 1.334 GB, free: 9.918 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002613/1.158, allocations: 33.66 kB / 1.334 GB, free: 9.898 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00201/1.16, allocations: 238.5 kB / 1.335 GB, free: 9.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005315/1.161, allocations: 349.5 kB / 1.335 GB, free: 9.656 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/1.178, allocations: 6.825 MB / 1.342 GB, free: 6.148 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05628/1.234, allocations: 39.86 MB / 1.38 GB, free: 15.08 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/1.238, allocations: 2.912 MB / 1.383 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/1.241, allocations: 1.787 MB / 1.385 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/1.241, allocations: 18 kB / 1.385 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/1.241, allocations: 56.5 kB / 1.385 GB, free: 10.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=179): time 4.018e-06/1.241, allocations: 0 / 1.385 GB, free: 10.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=182): time 0.02731/1.269, allocations: 9.983 MB / 1.395 GB, free: 104 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/1.269, allocations: 77.41 kB / 1.395 GB, free: 12 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/1.271, allocations: 1.526 MB / 1.396 GB, free: 14.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003179/1.272, allocations: 61.64 kB / 1.397 GB, free: 14.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.274, allocations: 2.323 MB / 1.399 GB, free: 12.04 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009037/1.275, allocations: 0.6562 MB / 1.399 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008134/1.275, allocations: 412.1 kB / 1.4 GB, free: 10.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.275, allocations: 305.1 kB / 1.4 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/1.277, allocations: 1.179 MB / 1.401 GB, free: 9.492 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/1.28, allocations: 1.88 MB / 1.403 GB, free: 7.297 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004859/1.285, allocations: 3.378 MB / 1.406 GB, free: 3.613 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.217e-05/1.285, allocations: 4 kB / 1.406 GB, free: 3.609 MB / 1.076 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008792/1.294, allocations: 4.531 MB / 1.411 GB, free: 15.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/1.294, allocations: 15.94 kB / 1.411 GB, free: 15.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-05/1.294, allocations: 24 kB / 1.411 GB, free: 15.02 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004272/1.298, allocations: 1.591 MB / 1.412 GB, free: 13.42 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.299, allocations: 350.5 kB / 1.413 GB, free: 13.08 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02697/1.326, allocations: 18.6 MB / 1.431 GB, free: 9.926 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/1.328, allocations: 115.8 kB / 1.431 GB, free: 9.812 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/1.329, allocations: 99.98 kB / 1.431 GB, free: 9.715 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004667/1.333, allocations: 1.894 MB / 1.433 GB, free: 7.809 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008853/1.334, allocations: 238.5 kB / 1.433 GB, free: 7.574 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009168/1.343, allocations: 4.04 MB / 1.437 GB, free: 3.508 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.343, allocations: 20 kB / 1.437 GB, free: 3.488 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-05/1.343, allocations: 16 kB / 1.437 GB, free: 3.473 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.769e-05/1.343, allocations: 11.95 kB / 1.437 GB, free: 3.461 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01989/1.363, allocations: 9.424 MB / 1.446 GB, free: 9.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/1.363, allocations: 4 kB / 1.446 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/1.364, allocations: 183.8 kB / 1.447 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004106/1.368, allocations: 1.356 MB / 1.448 GB, free: 8.27 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000267/1.369, allocations: 32 kB / 1.448 GB, free: 8.238 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0265/1.395, allocations: 17.38 MB / 1.465 GB, free: 6.309 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.395, allocations: 11.94 kB / 1.465 GB, free: 6.297 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008455/1.404, allocations: 4.028 MB / 1.469 GB, free: 2.18 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001905/1.406, allocations: 0.5385 MB / 1.469 GB, free: 1.621 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007185/1.406, allocations: 35.95 kB / 1.469 GB, free: 1.586 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.408, allocations: 91.89 kB / 1.469 GB, free: 1.496 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005588/1.408, allocations: 161.7 kB / 1.47 GB, free: 1.336 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/1.408, allocations: 48 kB / 1.47 GB, free: 1.289 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001887/1.41, allocations: 1.005 MB / 1.471 GB, free: 268 kB / 1.139 GB Notification: Performance of sort global known variables: time 1.9e-07/1.41, allocations: 0 / 1.471 GB, free: 268 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.004638/1.415, allocations: 0.9892 MB / 1.472 GB, free: 15.27 MB / 1.154 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004493/1.415, allocations: 143.1 kB / 1.472 GB, free: 15.12 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00821/1.423, allocations: 4.166 MB / 1.476 GB, free: 10.94 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/1.423, allocations: 5 kB / 1.476 GB, free: 10.94 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005401/1.429, allocations: 2.577 MB / 1.478 GB, free: 8.316 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/1.433, allocations: 0.7806 MB / 1.479 GB, free: 7.57 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.454, allocations: 9.509 MB / 1.488 GB, free: 13.97 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006915/1.461, allocations: 3.67 MB / 1.492 GB, free: 10.27 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007123/1.462, allocations: 123.4 kB / 1.492 GB, free: 10.15 MB / 1.17 GB Notification: Performance of SimCode: time 1.943e-06/1.462, allocations: 0 / 1.492 GB, free: 10.15 MB / 1.17 GB Notification: Performance of Templates: time 0.2199/1.681, allocations: 159.8 MB / 1.648 GB, free: 10.38 MB / 1.326 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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: 22.49319132999517]