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.001302/0.001302, allocations: 114.3 kB / 16.37 MB, free: 5.539 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.001144/0.001145, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.554/2.554, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 70.77 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3163, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01341/0.3297, allocations: 10.1 MB / 1.037 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006169/0.336, allocations: 3.185 MB / 1.04 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007101/0.3367, allocations: 35.81 kB / 1.04 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.3384, allocations: 0.5907 MB / 1.04 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.34, allocations: 0.731 MB / 1.041 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.3416, allocations: 0.7486 MB / 1.042 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003442/0.3451, allocations: 2.984 MB / 1.045 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002916/0.348, allocations: 2.59 MB / 1.047 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.3499, allocations: 1.25 MB / 1.048 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002464/0.3523, allocations: 1.558 MB / 1.05 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003784/0.3527, allocations: 236 kB / 1.05 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.3538, allocations: 0.4993 MB / 1.051 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.3549, allocations: 1.08 MB / 1.052 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.3561, allocations: 1.105 MB / 1.053 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.003412/0.3595, allocations: 3.689 MB / 1.056 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.3596, allocations: 0 / 1.056 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.298e-06/0.3596, allocations: 0 / 1.056 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.871e-05/0.3597, allocations: 0 / 1.056 GB, free: 3.559 MB / 0.8262 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.004146/0.3638, allocations: 2.146 MB / 1.059 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3639, allocations: 8.031 kB / 1.059 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008088/0.3719, allocations: 1.321 MB / 1.06 GB, free: 24 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002973/0.3749, allocations: 1.298 MB / 1.061 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.651e-05/0.375, allocations: 115.4 kB / 1.061 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000359/0.3754, allocations: 152.3 kB / 1.061 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005131/0.3806, allocations: 3.437 MB / 1.065 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.3806, allocations: 7.938 kB / 1.065 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.3808, allocations: 63.97 kB / 1.065 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002415/0.3811, allocations: 203.1 kB / 1.065 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004568/0.3857, allocations: 3.131 MB / 1.068 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5397/0.9254, allocations: 13.53 MB / 1.081 GB, free: 47.49 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002471/0.9279, allocations: 1.721 MB / 1.083 GB, free: 46.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.9299, allocations: 1.436 MB / 1.084 GB, free: 46.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-05/0.93, allocations: 14.12 kB / 1.084 GB, free: 46.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.93, allocations: 44.12 kB / 1.084 GB, free: 46.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=104): time 3.858e-06/0.9301, allocations: 0 / 1.084 GB, free: 46.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=183): time 0.1342/1.064, allocations: 36.67 MB / 1.12 GB, free: 37.4 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/1.064, allocations: 74.25 kB / 1.12 GB, free: 37.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.066, allocations: 1.058 MB / 1.121 GB, free: 36.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000382/1.066, allocations: 53.61 kB / 1.121 GB, free: 36.69 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/1.067, allocations: 0.7818 MB / 1.122 GB, free: 36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/1.067, allocations: 0.625 MB / 1.123 GB, free: 35.46 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000661/1.068, allocations: 368.2 kB / 1.123 GB, free: 35.28 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 4.397e-05/1.068, allocations: 309.1 kB / 1.123 GB, free: 34.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/1.07, allocations: 1.924 MB / 1.125 GB, free: 33.99 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/1.072, allocations: 2.298 MB / 1.127 GB, free: 32.58 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/1.076, allocations: 4.389 MB / 1.132 GB, free: 29.44 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.076, allocations: 0 / 1.132 GB, free: 29.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01649/1.093, allocations: 9.025 MB / 1.141 GB, free: 20.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.093, allocations: 8 kB / 1.141 GB, free: 20.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.093, allocations: 11.94 kB / 1.141 GB, free: 20.37 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/1.108, allocations: 4.972 MB / 1.145 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/1.109, allocations: 191.7 kB / 1.146 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05355/1.163, allocations: 38.9 MB / 1.184 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.165, allocations: 103.9 kB / 1.184 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/1.165, allocations: 71.98 kB / 1.184 GB, free: 7.605 MB / 0.8731 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.001289/1.166, allocations: 0.8042 MB / 1.185 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/1.166, allocations: 142.3 kB / 1.185 GB, free: 6.652 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/1.186, allocations: 8.89 MB / 1.193 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/1.186, allocations: 19.94 kB / 1.193 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-05/1.186, allocations: 32 kB / 1.193 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/1.186, allocations: 7.969 kB / 1.193 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02913/1.215, allocations: 13.27 MB / 1.206 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/1.215, allocations: 7.984 kB / 1.206 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/1.216, allocations: 116.3 kB / 1.207 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01571/1.231, allocations: 4.76 MB / 1.211 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002762/1.232, allocations: 32 kB / 1.211 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05227/1.284, allocations: 34.84 MB / 1.245 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.284, allocations: 4 kB / 1.245 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01875/1.303, allocations: 8.401 MB / 1.253 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001888/1.305, allocations: 0.6163 MB / 1.254 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003649/1.305, allocations: 39.94 kB / 1.254 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.306, allocations: 87.89 kB / 1.254 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008666/1.307, allocations: 169.6 kB / 1.254 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.307, allocations: 44 kB / 1.254 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001045/1.308, allocations: 0.7382 MB / 1.255 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.308, allocations: 0 / 1.255 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003633/1.312, allocations: 1.004 MB / 1.256 GB, free: 12.73 MB / 0.9512 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.0003734/1.312, allocations: 143.8 kB / 1.256 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.323, allocations: 5.876 MB / 1.262 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.323, allocations: 0 / 1.262 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.008336/1.331, allocations: 3.834 MB / 1.266 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/1.333, allocations: 257.2 kB / 1.266 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.343, allocations: 4.938 MB / 1.271 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/1.345, allocations: 1.859 MB / 1.273 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009934/1.346, allocations: 355.3 kB / 1.273 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/1.347, allocations: 63.42 kB / 1.273 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of SimCode: time 2.976e-06/1.347, allocations: 0 / 1.273 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of Templates: time 0.0884/1.435, allocations: 59.14 MB / 1.331 GB, free: 244 kB / 1.014 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 -s cvode -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