Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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_latest_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_latest_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.008401/0.008401, allocations: 94.72 kB / 15.73 MB, free: 6.039 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.002047/0.002047, allocations: 197.3 kB / 16.67 MB, free: 5.969 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7453 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3345, allocations: 159.9 MB / 1.226 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02186/0.3564, allocations: 20.24 MB / 1.245 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.703/1.059, allocations: 6.449 MB / 1.252 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002372/1.062, allocations: 87.25 kB / 1.252 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005978/1.068, allocations: 2.244 MB / 1.254 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003864/1.072, allocations: 1.184 MB / 1.255 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/1.075, allocations: 1.281 MB / 1.256 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006229/1.081, allocations: 4.842 MB / 1.261 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008972/1.09, allocations: 5.602 MB / 1.267 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00431/1.095, allocations: 2.086 MB / 1.269 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/1.1, allocations: 2.345 MB / 1.271 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001958/1.102, allocations: 433.6 kB / 1.271 GB, free: 7.785 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003681/1.106, allocations: 1.003 MB / 1.272 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003553/1.109, allocations: 1.66 MB / 1.274 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005506/1.115, allocations: 1.912 MB / 1.276 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01242/1.127, allocations: 6.533 MB / 1.282 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/1.127, allocations: 0.9375 kB / 1.282 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.054e-06/1.127, allocations: 0 / 1.282 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002982/1.128, allocations: 0 / 1.282 GB, free: 3.793 MB / 0.9981 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.01494/1.143, allocations: 3.542 MB / 1.286 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.143, allocations: 13.88 kB / 1.286 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/1.148, allocations: 0.6493 MB / 1.286 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005373/1.153, allocations: 2.054 MB / 1.288 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/1.153, allocations: 228.9 kB / 1.288 GB, free: 420 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/1.155, allocations: 295 kB / 1.289 GB, free: 324 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01619/1.171, allocations: 5.102 MB / 1.294 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/1.171, allocations: 14.09 kB / 1.294 GB, free: 15.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009102/1.172, allocations: 126.2 kB / 1.294 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000487/1.172, allocations: 231.8 kB / 1.294 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008045/1.181, allocations: 3.747 MB / 1.298 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02572/1.206, allocations: 21.44 MB / 1.319 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/1.208, allocations: 1.309 MB / 1.32 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/1.21, allocations: 1.064 MB / 1.321 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.249e-05/1.21, allocations: 11.34 kB / 1.321 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/1.21, allocations: 44.53 kB / 1.321 GB, free: 11.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 3.347e-06/1.21, allocations: 1.125 kB / 1.321 GB, free: 11.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=138): time 0.02548/1.235, allocations: 8.702 MB / 1.33 GB, free: 6.715 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/1.235, allocations: 65.06 kB / 1.33 GB, free: 6.652 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/1.237, allocations: 1.13 MB / 1.331 GB, free: 6.031 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.237, allocations: 51.64 kB / 1.331 GB, free: 5.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008818/1.238, allocations: 1.335 MB / 1.332 GB, free: 4.809 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004751/1.239, allocations: 0.4921 MB / 1.333 GB, free: 4.383 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005617/1.239, allocations: 291.1 kB / 1.333 GB, free: 4.219 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.499e-05/1.239, allocations: 310.1 kB / 1.333 GB, free: 3.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/1.241, allocations: 0.9185 MB / 1.334 GB, free: 3.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/1.243, allocations: 1.321 MB / 1.335 GB, free: 2.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/1.246, allocations: 2.429 MB / 1.338 GB, free: 0.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/1.246, allocations: 2.812 kB / 1.338 GB, free: 0.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006529/1.252, allocations: 3.474 MB / 1.341 GB, free: 14.95 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.252, allocations: 9.438 kB / 1.341 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.252, allocations: 12.81 kB / 1.341 GB, free: 14.95 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003374/1.256, allocations: 1.185 MB / 1.342 GB, free: 14.4 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009922/1.257, allocations: 258 kB / 1.343 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/1.275, allocations: 13.86 MB / 1.356 GB, free: 4.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.276, allocations: 90.34 kB / 1.356 GB, free: 4.184 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003122/1.277, allocations: 64.17 kB / 1.356 GB, free: 4.168 MB / 1.045 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.002376/1.279, allocations: 1.111 MB / 1.357 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/1.28, allocations: 169.1 kB / 1.357 GB, free: 3.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006137/1.286, allocations: 3.169 MB / 1.361 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.286, allocations: 12 kB / 1.361 GB, free: 420 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-05/1.286, allocations: 12 kB / 1.361 GB, free: 408 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/1.286, allocations: 11.91 kB / 1.361 GB, free: 396 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/1.299, allocations: 6.257 MB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.299, allocations: 4 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/1.299, allocations: 147.8 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/1.303, allocations: 1.075 MB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/1.303, allocations: 32 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/1.32, allocations: 13.54 MB / 1.381 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.32, allocations: 7.938 kB / 1.381 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/1.326, allocations: 3.167 MB / 1.384 GB, free: 7.547 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.327, allocations: 427.9 kB / 1.385 GB, free: 7.109 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004872/1.327, allocations: 35.89 kB / 1.385 GB, free: 7.074 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.328, allocations: 83.89 kB / 1.385 GB, free: 6.992 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/1.329, allocations: 124.7 kB / 1.385 GB, free: 6.867 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.329, allocations: 39.94 kB / 1.385 GB, free: 6.828 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001628/1.331, allocations: 0.7671 MB / 1.386 GB, free: 6.059 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.331, allocations: 4 kB / 1.386 GB, free: 6.055 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003641/1.334, allocations: 0.6562 MB / 1.386 GB, free: 5.398 MB / 1.076 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.0003766/1.335, allocations: 145.1 kB / 1.386 GB, free: 5.25 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005251/1.34, allocations: 3.147 MB / 1.39 GB, free: 2.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.34, allocations: 4 kB / 1.39 GB, free: 2.066 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003069/1.343, allocations: 1.957 MB / 1.391 GB, free: 80 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/1.346, allocations: 0.5006 MB / 1.392 GB, free: 15.59 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/1.357, allocations: 5.452 MB / 1.397 GB, free: 10.06 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003097/1.361, allocations: 2.332 MB / 1.4 GB, free: 7.699 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001216/1.362, allocations: 358.1 kB / 1.4 GB, free: 7.344 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/1.362, allocations: 83.44 kB / 1.4 GB, free: 7.262 MB / 1.092 GB Notification: Performance of SimCode: time 5.91e-07/1.362, allocations: 4 kB / 1.4 GB, free: 7.258 MB / 1.092 GB Notification: Performance of Templates: time 0.0597/1.422, allocations: 33.2 MB / 1.432 GB, free: 6.531 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches