Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.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_10_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_10_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.001728/0.001728, allocations: 107.1 kB / 16.41 MB, free: 6.445 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.001877/0.001878, allocations: 192 kB / 17.34 MB, free: 5.703 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 72.06 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8547, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01335/0.8681, allocations: 10.1 MB / 1.177 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005935/0.874, allocations: 3.17 MB / 1.18 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008859/0.875, allocations: 31.88 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001858/0.8768, allocations: 0.6235 MB / 1.181 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.8787, allocations: 0.774 MB / 1.182 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.8806, allocations: 0.7345 MB / 1.182 GB, free: 4.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00379/0.8844, allocations: 3.004 MB / 1.185 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003556/0.888, allocations: 2.598 MB / 1.188 GB, free: 14.69 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.8901, allocations: 1.262 MB / 1.189 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.8929, allocations: 1.566 MB / 1.191 GB, free: 11.85 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006516/0.8936, allocations: 236 kB / 1.191 GB, free: 11.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.895, allocations: 0.4994 MB / 1.191 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.8968, allocations: 1.072 MB / 1.192 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001608/0.8984, allocations: 1.112 MB / 1.193 GB, free: 8.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004119/0.9025, allocations: 3.692 MB / 1.197 GB, free: 5.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.9025, allocations: 4 kB / 1.197 GB, free: 5.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9025, allocations: 0 / 1.197 GB, free: 5.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.923e-05/0.9026, allocations: 0 / 1.197 GB, free: 5.227 MB / 0.92 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.004429/0.907, allocations: 2.19 MB / 1.199 GB, free: 2.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.9071, allocations: 12.62 kB / 1.199 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009163/0.9163, allocations: 1.318 MB / 1.201 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003214/0.9195, allocations: 1.31 MB / 1.202 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.9196, allocations: 111.4 kB / 1.202 GB, free: 188 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.92, allocations: 144.3 kB / 1.202 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00605/0.9261, allocations: 3.441 MB / 1.205 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.9261, allocations: 7.984 kB / 1.205 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.9263, allocations: 59.97 kB / 1.205 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002805/0.9266, allocations: 207.1 kB / 1.206 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005495/0.9321, allocations: 3.127 MB / 1.209 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01993/0.9521, allocations: 13.57 MB / 1.222 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.955, allocations: 1.737 MB / 1.224 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.9572, allocations: 1.436 MB / 1.225 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.9573, allocations: 13 kB / 1.225 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.9574, allocations: 47.5 kB / 1.225 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=104): time 3.326e-06/0.9574, allocations: 0 / 1.225 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=183): time 0.1526/1.11, allocations: 36.71 MB / 1.261 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/1.11, allocations: 77.39 kB / 1.261 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/1.112, allocations: 1.05 MB / 1.262 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003631/1.112, allocations: 57.7 kB / 1.262 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007631/1.113, allocations: 0.8093 MB / 1.263 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008976/1.114, allocations: 0.6547 MB / 1.264 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008067/1.115, allocations: 359.5 kB / 1.264 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.115, allocations: 309.1 kB / 1.264 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003245/1.118, allocations: 1.936 MB / 1.266 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/1.122, allocations: 2.289 MB / 1.268 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006646/1.128, allocations: 4.391 MB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.128, allocations: 0 / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0224/1.151, allocations: 9.033 MB / 1.281 GB, free: 13.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/1.151, allocations: 8.656 kB / 1.281 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.387e-05/1.151, allocations: 8 kB / 1.281 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0179/1.169, allocations: 4.974 MB / 1.286 GB, free: 8.266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/1.17, allocations: 195.6 kB / 1.286 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06333/1.233, allocations: 38.94 MB / 1.325 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.235, allocations: 99.89 kB / 1.325 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/1.235, allocations: 71.98 kB / 1.325 GB, free: 408 kB / 1.045 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.001389/1.237, allocations: 0.8018 MB / 1.325 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/1.237, allocations: 143.1 kB / 1.326 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/1.259, allocations: 8.897 MB / 1.334 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/1.259, allocations: 20 kB / 1.334 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.636e-05/1.259, allocations: 31.94 kB / 1.334 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.615e-05/1.259, allocations: 11.97 kB / 1.334 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0289/1.288, allocations: 13.4 MB / 1.347 GB, free: 8.891 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/1.288, allocations: 4 kB / 1.347 GB, free: 8.887 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/1.289, allocations: 115.9 kB / 1.348 GB, free: 8.773 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0174/1.306, allocations: 4.84 MB / 1.352 GB, free: 3.918 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003805/1.306, allocations: 35.94 kB / 1.352 GB, free: 3.883 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06081/1.367, allocations: 36.84 MB / 1.388 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/1.367, allocations: 11.88 kB / 1.388 GB, free: 14.44 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02146/1.389, allocations: 8.605 MB / 1.397 GB, free: 5.746 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.39, allocations: 0.6443 MB / 1.397 GB, free: 5.082 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/1.391, allocations: 36 kB / 1.397 GB, free: 5.047 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.392, allocations: 95.88 kB / 1.397 GB, free: 4.953 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008475/1.393, allocations: 161.6 kB / 1.398 GB, free: 4.797 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/1.393, allocations: 48 kB / 1.398 GB, free: 4.75 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001077/1.394, allocations: 0.7421 MB / 1.398 GB, free: 3.996 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.394, allocations: 0 / 1.398 GB, free: 3.996 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003308/1.397, allocations: 1.004 MB / 1.399 GB, free: 2.992 MB / 1.123 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.0003756/1.398, allocations: 143.1 kB / 1.399 GB, free: 2.844 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.41, allocations: 5.95 MB / 1.405 GB, free: 12.84 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.41, allocations: 0 / 1.405 GB, free: 12.84 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.008956/1.419, allocations: 3.967 MB / 1.409 GB, free: 8.824 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.421, allocations: 245.4 kB / 1.409 GB, free: 8.586 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009977/1.431, allocations: 5.124 MB / 1.414 GB, free: 3.406 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/1.433, allocations: 1.859 MB / 1.416 GB, free: 1.508 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009243/1.434, allocations: 355.4 kB / 1.417 GB, free: 1.156 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/1.434, allocations: 59.44 kB / 1.417 GB, free: 1.098 MB / 1.139 GB Notification: Performance of SimCode: time 8.12e-07/1.434, allocations: 0 / 1.417 GB, free: 1.098 MB / 1.139 GB Notification: Performance of Templates: time 0.09685/1.531, allocations: 61.31 MB / 1.476 GB, free: 3.898 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches