Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.009146/0.009146, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.00201/0.00201, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.849/2.849, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 65.67 kB / 0.8991 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2957, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01191/0.3077, allocations: 10.06 MB / 1.063 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005435/0.3132, allocations: 3.178 MB / 1.066 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009586/0.3142, allocations: 27.88 kB / 1.066 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.3159, allocations: 0.5407 MB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.3177, allocations: 0.7042 MB / 1.067 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.3194, allocations: 0.6776 MB / 1.068 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004814/0.3242, allocations: 4.494 MB / 1.072 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00432/0.3285, allocations: 2.839 MB / 1.075 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.3306, allocations: 1.059 MB / 1.076 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002632/0.3332, allocations: 1.605 MB / 1.077 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006511/0.3339, allocations: 164 kB / 1.078 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3354, allocations: 0.507 MB / 1.078 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00146/0.3368, allocations: 0.9978 MB / 1.079 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.3389, allocations: 1.034 MB / 1.08 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.3423, allocations: 3.079 MB / 1.083 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3423, allocations: 0 / 1.083 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3424, allocations: 0 / 1.083 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001104/0.3425, allocations: 0 / 1.083 GB, free: 9.211 MB / 0.8419 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.005519/0.348, allocations: 2.146 MB / 1.085 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3481, allocations: 11.97 kB / 1.085 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008758/0.3568, allocations: 1.317 MB / 1.086 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.3596, allocations: 1.251 MB / 1.088 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.3597, allocations: 115.3 kB / 1.088 GB, free: 4.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006306/0.3604, allocations: 152.2 kB / 1.088 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00679/0.3672, allocations: 3.437 MB / 1.091 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.305e-05/0.3672, allocations: 3.938 kB / 1.091 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004057/0.3677, allocations: 63.97 kB / 1.091 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000279/0.3679, allocations: 207.1 kB / 1.091 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005774/0.3737, allocations: 3.128 MB / 1.095 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/0.3936, allocations: 13.61 MB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.3963, allocations: 1.739 MB / 1.11 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.3985, allocations: 1.436 MB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.3986, allocations: 16.92 kB / 1.111 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3987, allocations: 43.56 kB / 1.111 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 3.166e-06/0.3987, allocations: 8 kB / 1.111 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1397/0.5384, allocations: 36.67 MB / 1.147 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.772e-05/0.5385, allocations: 73.34 kB / 1.147 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.5403, allocations: 1.054 MB / 1.148 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003978/0.5408, allocations: 57.7 kB / 1.148 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/0.5414, allocations: 0.7951 MB / 1.149 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009078/0.5423, allocations: 0.6161 MB / 1.149 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.5435, allocations: 363.3 kB / 1.15 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5436, allocations: 301.1 kB / 1.15 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.5466, allocations: 1.928 MB / 1.152 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/0.5501, allocations: 2.293 MB / 1.154 GB, free: 14.95 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006588/0.5567, allocations: 4.385 MB / 1.158 GB, free: 10.44 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.5568, allocations: 4 kB / 1.158 GB, free: 10.44 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02092/0.5777, allocations: 9.02 MB / 1.167 GB, free: 1.391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.5778, allocations: 15.94 kB / 1.167 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/0.5779, allocations: 8 kB / 1.167 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01725/0.5951, allocations: 4.984 MB / 1.172 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/0.5961, allocations: 191.7 kB / 1.172 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05554/0.6516, allocations: 35.27 MB / 1.207 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.6535, allocations: 103.9 kB / 1.207 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004174/0.6539, allocations: 64 kB / 1.207 GB, free: 8.18 MB / 0.9669 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.001534/0.6555, allocations: 0.8071 MB / 1.208 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/0.656, allocations: 142.3 kB / 1.208 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/0.6758, allocations: 8.89 MB / 1.216 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.6759, allocations: 19.94 kB / 1.216 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.621e-05/0.676, allocations: 32 kB / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.533e-05/0.676, allocations: 11.97 kB / 1.217 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02876/0.7048, allocations: 13.31 MB / 1.23 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-05/0.7048, allocations: 4 kB / 1.23 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.7054, allocations: 119.8 kB / 1.23 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01698/0.7224, allocations: 4.761 MB / 1.234 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003918/0.7228, allocations: 36 kB / 1.234 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5454/1.268, allocations: 31.57 MB / 1.265 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.268, allocations: 3.75 kB / 1.265 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/1.289, allocations: 8.411 MB / 1.273 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/1.291, allocations: 0.614 MB / 1.274 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/1.291, allocations: 38.33 kB / 1.274 GB, free: 173.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.292, allocations: 87.56 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/1.293, allocations: 166.8 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001687/1.293, allocations: 47.22 kB / 1.274 GB, free: 173.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001068/1.294, allocations: 0.7372 MB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.295, allocations: 1.125 kB / 1.275 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003726/1.298, allocations: 1.003 MB / 1.276 GB, free: 173.4 MB / 0.9981 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%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003266/1.299, allocations: 142.3 kB / 1.276 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009819/1.308, allocations: 5.856 MB / 1.282 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.308, allocations: 1.375 kB / 1.282 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007435/1.316, allocations: 3.839 MB / 1.286 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.318, allocations: 228.8 kB / 1.286 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008637/1.326, allocations: 6.09 MB / 1.292 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.328, allocations: 1.889 MB / 1.294 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/1.328, allocations: 63.88 kB / 1.294 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.503e-06/1.328, allocations: 0 / 1.294 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.06065/1.389, allocations: 69.02 MB / 1.361 GB, free: 101.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches