Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 110.1 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7895/0.7908, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01091/0.8018, allocations: 10.08 MB / 1.098 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006766/0.8086, allocations: 3.174 MB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.8096, allocations: 37.34 kB / 1.102 GB, free: 12.41 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.8115, allocations: 0.6062 MB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.8134, allocations: 0.7355 MB / 1.103 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.8154, allocations: 0.7382 MB / 1.104 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0043/0.8197, allocations: 2.992 MB / 1.107 GB, free: 10 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.8231, allocations: 2.586 MB / 1.109 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.8257, allocations: 1.264 MB / 1.11 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.8288, allocations: 1.561 MB / 1.112 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006388/0.8295, allocations: 238.8 kB / 1.112 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.831, allocations: 0.4952 MB / 1.113 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.8324, allocations: 1.071 MB / 1.114 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.8341, allocations: 1.111 MB / 1.115 GB, free: 6.625 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005272/0.8394, allocations: 3.687 MB / 1.118 GB, free: 5.484 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.8394, allocations: 4 kB / 1.118 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8394, allocations: 0 / 1.118 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.291e-05/0.8395, allocations: 0 / 1.118 GB, free: 5.48 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005771/0.8453, allocations: 2.146 MB / 1.12 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.8453, allocations: 9.812 kB / 1.12 GB, free: 4.188 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009915/0.8553, allocations: 1.316 MB / 1.122 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.8585, allocations: 1.297 MB / 1.123 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.8587, allocations: 116.2 kB / 1.123 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000622/0.8593, allocations: 145.4 kB / 1.123 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007237/0.8665, allocations: 3.45 MB / 1.127 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.565e-05/0.8666, allocations: 7.938 kB / 1.127 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/0.8669, allocations: 61.72 kB / 1.127 GB, free: 1.848 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003801/0.8673, allocations: 208.2 kB / 1.127 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006205/0.8735, allocations: 3.129 MB / 1.13 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02161/0.8952, allocations: 13.53 MB / 1.143 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.8981, allocations: 1.731 MB / 1.145 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/0.9003, allocations: 1.439 MB / 1.146 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.755e-05/0.9004, allocations: 14.89 kB / 1.146 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.9005, allocations: 51 kB / 1.146 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 3.326e-06/0.9005, allocations: 1.312 kB / 1.146 GB, free: 6.238 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.1556/1.056, allocations: 36.68 MB / 1.182 GB, free: 13.28 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/1.056, allocations: 77.41 kB / 1.182 GB, free: 13.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/1.058, allocations: 1.046 MB / 1.183 GB, free: 12.12 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004267/1.058, allocations: 57.7 kB / 1.183 GB, free: 12.06 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000503/1.059, allocations: 0.7912 MB / 1.184 GB, free: 11.26 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006867/1.059, allocations: 0.6276 MB / 1.185 GB, free: 10.62 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007834/1.06, allocations: 359.4 kB / 1.185 GB, free: 10.26 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/1.06, allocations: 305.1 kB / 1.185 GB, free: 9.961 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002712/1.063, allocations: 1.928 MB / 1.187 GB, free: 8.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002958/1.066, allocations: 2.285 MB / 1.189 GB, free: 5.621 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005951/1.072, allocations: 4.396 MB / 1.194 GB, free: 1.102 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.072, allocations: 8 kB / 1.194 GB, free: 1.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02094/1.093, allocations: 9.013 MB / 1.202 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/1.093, allocations: 11.94 kB / 1.202 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.093, allocations: 16 kB / 1.202 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01742/1.111, allocations: 4.974 MB / 1.207 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009335/1.111, allocations: 191.7 kB / 1.208 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05915/1.171, allocations: 38.89 MB / 1.246 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/1.173, allocations: 103.9 kB / 1.246 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/1.173, allocations: 68 kB / 1.246 GB, free: 11.21 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001499/1.175, allocations: 0.8101 MB / 1.246 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/1.175, allocations: 134.4 kB / 1.247 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02074/1.196, allocations: 8.89 MB / 1.255 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.196, allocations: 20 kB / 1.255 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.188e-05/1.196, allocations: 28 kB / 1.255 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.964e-05/1.196, allocations: 11.95 kB / 1.255 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02736/1.223, allocations: 13.41 MB / 1.268 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/1.224, allocations: 4 kB / 1.268 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/1.224, allocations: 116.3 kB / 1.269 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01734/1.241, allocations: 4.84 MB / 1.273 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003995/1.242, allocations: 36 kB / 1.273 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05536/1.297, allocations: 36.83 MB / 1.309 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/1.297, allocations: 7.938 kB / 1.309 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/1.318, allocations: 8.588 MB / 1.318 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/1.319, allocations: 0.6359 MB / 1.318 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005474/1.32, allocations: 39.94 kB / 1.318 GB, free: 15.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/1.321, allocations: 95.88 kB / 1.318 GB, free: 15.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008233/1.322, allocations: 161.7 kB / 1.319 GB, free: 15.65 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.322, allocations: 44 kB / 1.319 GB, free: 15.61 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00102/1.323, allocations: 0.7382 MB / 1.319 GB, free: 14.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.623e-06/1.323, allocations: 0 / 1.319 GB, free: 14.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003332/1.327, allocations: 1.012 MB / 1.32 GB, free: 13.84 MB / 1.061 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000341/1.327, allocations: 144.2 kB / 1.32 GB, free: 13.7 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01001/1.337, allocations: 5.947 MB / 1.326 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.337, allocations: 4 kB / 1.326 GB, free: 7.695 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.008524/1.346, allocations: 3.947 MB / 1.33 GB, free: 3.703 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.348, allocations: 240.6 kB / 1.33 GB, free: 3.469 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009366/1.357, allocations: 5.355 MB / 1.336 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001997/1.359, allocations: 1.89 MB / 1.337 GB, free: 12.12 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/1.36, allocations: 71.42 kB / 1.337 GB, free: 12.05 MB / 1.076 GB Notification: Performance of SimCode: time 9.61e-07/1.36, allocations: 0 / 1.337 GB, free: 12.05 MB / 1.076 GB Notification: Performance of Templates: time 0.08057/1.44, allocations: 69.41 MB / 1.405 GB, free: 6.602 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches