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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.746/2.746, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 66.62 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3064, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02292/0.3294, allocations: 20.25 MB / 1.083 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.3415, allocations: 6.441 MB / 1.09 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/0.3436, allocations: 83.62 kB / 1.09 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005701/0.3493, allocations: 2.239 MB / 1.092 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003326/0.3527, allocations: 1.177 MB / 1.093 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.356, allocations: 1.29 MB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005244/0.3612, allocations: 4.846 MB / 1.099 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007554/0.3688, allocations: 5.638 MB / 1.105 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.372, allocations: 2.08 MB / 1.107 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003604/0.3757, allocations: 2.34 MB / 1.109 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001183/0.3768, allocations: 428 kB / 1.109 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.3794, allocations: 1.006 MB / 1.11 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002437/0.3819, allocations: 1.661 MB / 1.112 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005417/0.3873, allocations: 1.914 MB / 1.114 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008819/0.3961, allocations: 6.474 MB / 1.12 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3962, allocations: 0 / 1.12 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3962, allocations: 7.938 kB / 1.12 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000175/0.3964, allocations: 0 / 1.12 GB, free: 4.441 MB / 0.8731 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.009082/0.4055, allocations: 3.459 MB / 1.124 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.4055, allocations: 12.03 kB / 1.124 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001347/0.4069, allocations: 446.6 kB / 1.124 GB, free: 468 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004053/0.4109, allocations: 0.6371 MB / 1.125 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003974/0.4149, allocations: 1.943 MB / 1.127 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.4151, allocations: 222.3 kB / 1.127 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000791/0.4159, allocations: 300 kB / 1.127 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009374/0.4253, allocations: 4.882 MB / 1.132 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.4255, allocations: 11.92 kB / 1.132 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005061/0.426, allocations: 128 kB / 1.132 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000445/0.4264, allocations: 225.7 kB / 1.132 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00665/0.4331, allocations: 3.754 MB / 1.136 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/0.4563, allocations: 21.57 MB / 1.157 GB, free: 12.53 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.4583, allocations: 1.308 MB / 1.158 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/0.4599, allocations: 1.046 MB / 1.159 GB, free: 10.16 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.16e-05/0.46, allocations: 13 kB / 1.159 GB, free: 10.15 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.46, allocations: 43.56 kB / 1.159 GB, free: 10.1 MB / 0.92 GB Notification: Performance of pre-optimization done (n=107): time 3.767e-06/0.46, allocations: 0 / 1.159 GB, free: 10.1 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.02503/0.4851, allocations: 8.66 MB / 1.168 GB, free: 1.379 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.4852, allocations: 68.72 kB / 1.168 GB, free: 1.301 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/0.487, allocations: 1.13 MB / 1.169 GB, free: 168 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.4872, allocations: 45.7 kB / 1.169 GB, free: 116 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008645/0.488, allocations: 1.3 MB / 1.17 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.4885, allocations: 477.2 kB / 1.171 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/0.4889, allocations: 291.4 kB / 1.171 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.489, allocations: 309 kB / 1.171 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.4904, allocations: 0.9174 MB / 1.172 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.4919, allocations: 1.326 MB / 1.173 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.4948, allocations: 2.43 MB / 1.176 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.4948, allocations: 8 kB / 1.176 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005927/0.5007, allocations: 3.467 MB / 1.179 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.5008, allocations: 8.938 kB / 1.179 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.5008, allocations: 12 kB / 1.179 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003174/0.504, allocations: 1.193 MB / 1.18 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009272/0.5049, allocations: 259.6 kB / 1.181 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/0.5217, allocations: 13.85 MB / 1.194 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.5232, allocations: 87.97 kB / 1.194 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.5234, allocations: 64 kB / 1.194 GB, free: 5.332 MB / 0.9512 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.002092/0.5256, allocations: 1.118 MB / 1.195 GB, free: 4.203 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.526, allocations: 166.1 kB / 1.196 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005684/0.5317, allocations: 3.169 MB / 1.199 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.5318, allocations: 12 kB / 1.199 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-05/0.5318, allocations: 15.94 kB / 1.199 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.5318, allocations: 7.969 kB / 1.199 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.5431, allocations: 6.245 MB / 1.205 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.5431, allocations: 11.98 kB / 1.205 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.5437, allocations: 144.1 kB / 1.205 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/0.5467, allocations: 1.078 MB / 1.206 GB, free: 9.184 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.5468, allocations: 24 kB / 1.206 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01656/0.5634, allocations: 13.55 MB / 1.219 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/0.5634, allocations: 15.88 kB / 1.219 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005354/0.5688, allocations: 3.146 MB / 1.222 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009053/0.5697, allocations: 430.9 kB / 1.223 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003486/0.57, allocations: 31.98 kB / 1.223 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/0.571, allocations: 83.91 kB / 1.223 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003631/0.5714, allocations: 121.1 kB / 1.223 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.801e-05/0.5715, allocations: 44 kB / 1.223 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001168/0.5727, allocations: 0.7632 MB / 1.224 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5727, allocations: 4 kB / 1.224 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002148/0.5748, allocations: 0.6562 MB / 1.224 GB, free: 5.809 MB / 0.9825 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.005454/0.5803, allocations: 3.74 MB / 1.228 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005666/0.586, allocations: 3.638 MB / 1.232 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.586, allocations: 128 / 1.232 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00293/0.5889, allocations: 1.955 MB / 1.233 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.5915, allocations: 0.4933 MB / 1.234 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5123/1.104, allocations: 20.1 MB / 1.254 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/1.106, allocations: 2.339 MB / 1.256 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001345/1.108, allocations: 353 kB / 1.256 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.109, allocations: 1.007 MB / 1.257 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.253e-06/1.109, allocations: 0 / 1.257 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08409/1.193, allocations: 51.45 MB / 1.307 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/11.31, allocations: 8.672 kB / 1.307 GB, free: 143.1 MB / 0.9981 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/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