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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009459/0.009459, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.002191/0.002191, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 68.11 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3462, allocations: 157.4 MB / 1.208 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02287/0.3692, allocations: 20.25 MB / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3802, allocations: 6.46 MB / 1.234 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.382, allocations: 83.62 kB / 1.234 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005331/0.3874, allocations: 2.235 MB / 1.236 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.3906, allocations: 1.185 MB / 1.237 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.3937, allocations: 1.281 MB / 1.238 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005568/0.3992, allocations: 4.842 MB / 1.243 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6676/1.067, allocations: 5.588 MB / 1.249 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/1.07, allocations: 2.121 MB / 1.251 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003769/1.074, allocations: 2.341 MB / 1.253 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007012/1.075, allocations: 430.4 kB / 1.253 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/1.077, allocations: 1.008 MB / 1.254 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00168/1.079, allocations: 1.663 MB / 1.256 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002351/1.081, allocations: 1.914 MB / 1.258 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008936/1.09, allocations: 6.513 MB / 1.264 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/1.09, allocations: 0 / 1.264 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.705e-06/1.09, allocations: 0 / 1.264 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002105/1.09, allocations: 4.531 kB / 1.264 GB, free: 9.383 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.01013/1.1, allocations: 3.463 MB / 1.268 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.1, allocations: 10.03 kB / 1.268 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/1.104, allocations: 0.6311 MB / 1.268 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/1.109, allocations: 2.055 MB / 1.27 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/1.109, allocations: 220.5 kB / 1.271 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005883/1.11, allocations: 293.3 kB / 1.271 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008465/1.118, allocations: 4.889 MB / 1.276 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.107e-05/1.119, allocations: 16 kB / 1.276 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003597/1.119, allocations: 123.5 kB / 1.276 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004443/1.119, allocations: 233.8 kB / 1.276 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006286/1.126, allocations: 3.751 MB / 1.28 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02234/1.148, allocations: 21.4 MB / 1.3 GB, free: 7.793 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/1.15, allocations: 1.304 MB / 1.302 GB, free: 7.301 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/1.152, allocations: 1.058 MB / 1.303 GB, free: 6.906 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-05/1.152, allocations: 10.62 kB / 1.303 GB, free: 6.906 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/1.152, allocations: 48.27 kB / 1.303 GB, free: 6.855 MB / 1.014 GB Notification: Performance of pre-optimization done (n=107): time 3.917e-06/1.152, allocations: 2.297 kB / 1.303 GB, free: 6.855 MB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.02662/1.178, allocations: 8.662 MB / 1.311 GB, free: 4.07 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.178, allocations: 69.05 kB / 1.311 GB, free: 4.004 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/1.18, allocations: 1.13 MB / 1.312 GB, free: 3.559 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.18, allocations: 51.39 kB / 1.313 GB, free: 3.508 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007917/1.181, allocations: 1.295 MB / 1.314 GB, free: 2.527 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/1.181, allocations: 479.8 kB / 1.314 GB, free: 2.164 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005084/1.182, allocations: 289.4 kB / 1.315 GB, free: 2.027 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.087e-05/1.182, allocations: 310.8 kB / 1.315 GB, free: 1.723 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/1.183, allocations: 0.9114 MB / 1.316 GB, free: 1.383 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/1.185, allocations: 1.331 MB / 1.317 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/1.188, allocations: 2.424 MB / 1.319 GB, free: 15.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/1.188, allocations: 4.281 kB / 1.319 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006353/1.194, allocations: 3.472 MB / 1.323 GB, free: 13.66 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/1.194, allocations: 10.38 kB / 1.323 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/1.194, allocations: 12.41 kB / 1.323 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00334/1.198, allocations: 1.188 MB / 1.324 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009662/1.199, allocations: 252.8 kB / 1.324 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.216, allocations: 13.85 MB / 1.338 GB, free: 3.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/1.218, allocations: 85.08 kB / 1.338 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/1.218, allocations: 65.14 kB / 1.338 GB, free: 2.953 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.002245/1.22, allocations: 1.111 MB / 1.339 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/1.221, allocations: 167.3 kB / 1.339 GB, free: 2.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005695/1.226, allocations: 3.171 MB / 1.342 GB, free: 368 kB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.226, allocations: 11.94 kB / 1.342 GB, free: 368 kB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.226, allocations: 11.38 kB / 1.342 GB, free: 368 kB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.226, allocations: 13.75 kB / 1.342 GB, free: 356 kB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.237, allocations: 6.237 MB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.237, allocations: 4.812 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/1.238, allocations: 147.8 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002762/1.241, allocations: 1.083 MB / 1.35 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001007/1.241, allocations: 25.16 kB / 1.35 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/1.256, allocations: 13.55 MB / 1.363 GB, free: 1.941 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.256, allocations: 14.52 kB / 1.363 GB, free: 1.93 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/1.262, allocations: 3.149 MB / 1.366 GB, free: 14.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/1.263, allocations: 423.1 kB / 1.366 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/1.263, allocations: 27.94 kB / 1.366 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/1.264, allocations: 83.89 kB / 1.366 GB, free: 14.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/1.265, allocations: 126.1 kB / 1.367 GB, free: 14.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.106e-05/1.265, allocations: 36 kB / 1.367 GB, free: 14.05 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001052/1.266, allocations: 0.771 MB / 1.367 GB, free: 13.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.266, allocations: 0 / 1.367 GB, free: 13.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002322/1.268, allocations: 0.6562 MB / 1.368 GB, free: 12.62 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.0002447/1.268, allocations: 142.8 kB / 1.368 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005057/1.273, allocations: 3.133 MB / 1.371 GB, free: 9.348 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.273, allocations: 4 kB / 1.371 GB, free: 9.344 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002892/1.276, allocations: 1.956 MB / 1.373 GB, free: 7.379 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/1.279, allocations: 0.4943 MB / 1.374 GB, free: 6.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009896/1.289, allocations: 5.369 MB / 1.379 GB, free: 1.477 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/1.291, allocations: 2.34 MB / 1.381 GB, free: 15.11 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001177/1.292, allocations: 358 kB / 1.381 GB, free: 14.75 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/1.292, allocations: 87.42 kB / 1.381 GB, free: 14.66 MB / 1.076 GB Notification: Performance of SimCode: time 9.91e-07/1.292, allocations: 0 / 1.381 GB, free: 14.66 MB / 1.076 GB Notification: Performance of Templates: time 0.0578/1.35, allocations: 33.74 MB / 1.414 GB, free: 13.5 MB / 1.107 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