Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 108.5 kB / 16.41 MB, free: 6.457 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.001268/0.001268, allocations: 192 kB / 17.34 MB, free: 5.715 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.543/1.543, allocations: 222.9 MB / 241 MB, free: 15.07 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.629/2.629, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.84 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02712/1.075, allocations: 20.27 MB / 1.187 GB, free: 15.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01362/1.088, allocations: 6.445 MB / 1.193 GB, free: 9.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002775/1.091, allocations: 87.62 kB / 1.193 GB, free: 8.934 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006522/1.098, allocations: 2.26 MB / 1.196 GB, free: 6.668 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00455/1.102, allocations: 1.236 MB / 1.197 GB, free: 5.426 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004045/1.107, allocations: 1.286 MB / 1.198 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00771/1.114, allocations: 4.865 MB / 1.203 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01019/1.124, allocations: 5.587 MB / 1.208 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004708/1.129, allocations: 2.127 MB / 1.21 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004975/1.134, allocations: 2.336 MB / 1.213 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001777/1.136, allocations: 432 kB / 1.213 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/1.14, allocations: 1.006 MB / 1.214 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.003285/1.143, allocations: 1.661 MB / 1.216 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005045/1.148, allocations: 1.918 MB / 1.218 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.009437/1.157, allocations: 6.527 MB / 1.224 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.158, allocations: 0 / 1.224 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.845e-06/1.158, allocations: 0 / 1.224 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001995/1.158, allocations: 4 kB / 1.224 GB, free: 9.566 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009322/1.167, allocations: 3.543 MB / 1.227 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.167, allocations: 8.922 kB / 1.227 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003511/1.171, allocations: 0.6546 MB / 1.228 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004245/1.175, allocations: 2.058 MB / 1.23 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/1.175, allocations: 230.3 kB / 1.23 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004974/1.176, allocations: 292.3 kB / 1.231 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009622/1.185, allocations: 4.882 MB / 1.235 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.709e-05/1.185, allocations: 15.92 kB / 1.235 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000351/1.186, allocations: 128 kB / 1.236 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005185/1.186, allocations: 229.7 kB / 1.236 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007142/1.193, allocations: 3.75 MB / 1.239 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02707/1.221, allocations: 21.44 MB / 1.26 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/1.223, allocations: 1.304 MB / 1.262 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/1.224, allocations: 1.058 MB / 1.263 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.918e-05/1.224, allocations: 9 kB / 1.263 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/1.224, allocations: 47.56 kB / 1.263 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 3.427e-06/1.224, allocations: 3.938 kB / 1.263 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.02504/1.249, allocations: 8.704 MB / 1.271 GB, free: 6.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/1.249, allocations: 72.72 kB / 1.271 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/1.251, allocations: 1.126 MB / 1.272 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/1.251, allocations: 53.7 kB / 1.272 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001073/1.252, allocations: 1.335 MB / 1.274 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004916/1.253, allocations: 0.4996 MB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000505/1.253, allocations: 287.5 kB / 1.274 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.254, allocations: 309 kB / 1.275 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/1.255, allocations: 0.9096 MB / 1.276 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/1.257, allocations: 1.326 MB / 1.277 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/1.26, allocations: 2.422 MB / 1.279 GB, free: 14.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/1.26, allocations: 4 kB / 1.279 GB, free: 14.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006503/1.267, allocations: 3.476 MB / 1.283 GB, free: 10.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/1.267, allocations: 12 kB / 1.283 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.267, allocations: 12 kB / 1.283 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003329/1.27, allocations: 1.185 MB / 1.284 GB, free: 9.379 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.271, allocations: 263.5 kB / 1.284 GB, free: 9.121 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/1.291, allocations: 13.85 MB / 1.298 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/1.292, allocations: 91.97 kB / 1.298 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.293, allocations: 63.98 kB / 1.298 GB, free: 10.71 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002361/1.295, allocations: 1.11 MB / 1.299 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004331/1.295, allocations: 167 kB / 1.299 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006221/1.302, allocations: 3.173 MB / 1.302 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/1.302, allocations: 16 kB / 1.302 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/1.302, allocations: 19.88 kB / 1.302 GB, free: 6.199 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/1.302, allocations: 7.969 kB / 1.302 GB, free: 6.191 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.313, allocations: 6.249 MB / 1.308 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.313, allocations: 4 kB / 1.308 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/1.314, allocations: 151.8 kB / 1.308 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00308/1.317, allocations: 1.068 MB / 1.31 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/1.317, allocations: 32 kB / 1.31 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01982/1.337, allocations: 13.54 MB / 1.323 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-05/1.337, allocations: 7.938 kB / 1.323 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005863/1.343, allocations: 3.163 MB / 1.326 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/1.344, allocations: 432.3 kB / 1.326 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/1.344, allocations: 35.89 kB / 1.326 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008014/1.345, allocations: 83.89 kB / 1.326 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004413/1.345, allocations: 132.7 kB / 1.327 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.294e-05/1.345, allocations: 36 kB / 1.327 GB, free: 12.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001179/1.347, allocations: 0.7671 MB / 1.327 GB, free: 11.83 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.347, allocations: 0 / 1.327 GB, free: 11.83 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002326/1.349, allocations: 0.6602 MB / 1.328 GB, free: 11.17 MB / 1.061 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000284/1.349, allocations: 147 kB / 1.328 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005457/1.355, allocations: 3.138 MB / 1.331 GB, free: 7.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.355, allocations: 0 / 1.331 GB, free: 7.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.003394/1.358, allocations: 1.958 MB / 1.333 GB, free: 5.848 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/1.361, allocations: 0.5058 MB / 1.334 GB, free: 5.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.372, allocations: 5.46 MB / 1.339 GB, free: 15.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002861/1.374, allocations: 2.332 MB / 1.341 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001252/1.376, allocations: 358.1 kB / 1.342 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/1.376, allocations: 83.44 kB / 1.342 GB, free: 13.01 MB / 1.076 GB Notification: Performance of SimCode: time 1.443e-06/1.376, allocations: 0 / 1.342 GB, free: 13.01 MB / 1.076 GB Notification: Performance of Templates: time 0.06467/1.441, allocations: 33.32 MB / 1.374 GB, free: 12.12 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches