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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_10_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_10_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.005682/0.005682, allocations: 102.1 kB / 15.73 MB, free: 6.008 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.001183/0.001183, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.511/2.511, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2923, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02311/0.3155, allocations: 20.25 MB / 1.186 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.3262, allocations: 6.453 MB / 1.192 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.3279, allocations: 83.62 kB / 1.192 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005457/0.3334, allocations: 2.236 MB / 1.195 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.3365, allocations: 1.185 MB / 1.196 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003097/0.3396, allocations: 1.279 MB / 1.197 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004955/0.3446, allocations: 4.854 MB / 1.202 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006979/0.3516, allocations: 5.587 MB / 1.207 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003325/0.3549, allocations: 2.088 MB / 1.209 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003969/0.3589, allocations: 2.34 MB / 1.211 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.3603, allocations: 432 kB / 1.212 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002971/0.3633, allocations: 0.9987 MB / 1.213 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.3653, allocations: 1.672 MB / 1.214 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.3677, allocations: 1.91 MB / 1.216 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00592/0.3736, allocations: 6.514 MB / 1.223 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3736, allocations: 0 / 1.223 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3737, allocations: 0 / 1.223 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001334/0.3738, allocations: 0 / 1.223 GB, free: 13.14 MB / 0.9825 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.006885/0.3807, allocations: 3.463 MB / 1.226 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.3808, allocations: 8.031 kB / 1.226 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006365/0.3814, allocations: 462.5 kB / 1.227 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.3848, allocations: 0.6371 MB / 1.227 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004122/0.3889, allocations: 2.037 MB / 1.229 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.3891, allocations: 226.3 kB / 1.229 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006497/0.3898, allocations: 296 kB / 1.23 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007724/0.3975, allocations: 4.886 MB / 1.234 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.542e-05/0.3977, allocations: 23.84 kB / 1.234 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/0.398, allocations: 120 kB / 1.235 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004215/0.3984, allocations: 237.7 kB / 1.235 GB, free: 440 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005997/0.4044, allocations: 3.746 MB / 1.238 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5642/0.9687, allocations: 21.4 MB / 1.259 GB, free: 67.48 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.9708, allocations: 1.303 MB / 1.261 GB, free: 67.34 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.9725, allocations: 1.054 MB / 1.262 GB, free: 66.95 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.768e-05/0.9726, allocations: 11.19 kB / 1.262 GB, free: 66.95 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.9726, allocations: 48.25 kB / 1.262 GB, free: 66.91 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=107): time 3.617e-06/0.9726, allocations: 1.344 kB / 1.262 GB, free: 66.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.0257/0.9983, allocations: 8.666 MB / 1.27 GB, free: 64.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.9984, allocations: 66.41 kB / 1.27 GB, free: 64.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.9999, allocations: 1.127 MB / 1.271 GB, free: 63.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/1, allocations: 51.64 kB / 1.271 GB, free: 63.69 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/1.001, allocations: 1.297 MB / 1.273 GB, free: 62.71 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/1.001, allocations: 475.5 kB / 1.273 GB, free: 62.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/1.002, allocations: 299.9 kB / 1.273 GB, free: 62.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.752e-05/1.002, allocations: 305.8 kB / 1.274 GB, free: 61.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.003, allocations: 0.9125 MB / 1.275 GB, free: 61.56 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/1.004, allocations: 1.319 MB / 1.276 GB, free: 60.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/1.007, allocations: 2.428 MB / 1.278 GB, free: 59.35 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/1.007, allocations: 3.344 kB / 1.278 GB, free: 59.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006025/1.013, allocations: 3.47 MB / 1.282 GB, free: 57.98 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/1.013, allocations: 11.12 kB / 1.282 GB, free: 57.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/1.013, allocations: 12.97 kB / 1.282 GB, free: 57.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003216/1.016, allocations: 1.185 MB / 1.283 GB, free: 57.67 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/1.017, allocations: 260 kB / 1.283 GB, free: 57.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/1.033, allocations: 13.85 MB / 1.297 GB, free: 49.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/1.035, allocations: 89.61 kB / 1.297 GB, free: 49.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/1.035, allocations: 63.66 kB / 1.297 GB, free: 49.12 MB / 0.9981 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.001804/1.037, allocations: 1.112 MB / 1.298 GB, free: 48.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/1.037, allocations: 171.4 kB / 1.298 GB, free: 48.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005665/1.043, allocations: 3.166 MB / 1.301 GB, free: 47.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/1.043, allocations: 18.56 kB / 1.301 GB, free: 47.22 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/1.043, allocations: 15.19 kB / 1.301 GB, free: 47.22 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/1.043, allocations: 8.25 kB / 1.301 GB, free: 47.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/1.054, allocations: 6.242 MB / 1.307 GB, free: 44.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/1.054, allocations: 3.781 kB / 1.307 GB, free: 44.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/1.055, allocations: 151.5 kB / 1.307 GB, free: 44.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002908/1.058, allocations: 1.075 MB / 1.308 GB, free: 44.33 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/1.058, allocations: 30.62 kB / 1.308 GB, free: 44.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/1.073, allocations: 13.52 MB / 1.322 GB, free: 34.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.073, allocations: 13.94 kB / 1.322 GB, free: 34.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005028/1.078, allocations: 3.146 MB / 1.325 GB, free: 33.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000987/1.079, allocations: 430.4 kB / 1.325 GB, free: 32.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003573/1.08, allocations: 31.78 kB / 1.325 GB, free: 32.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009841/1.081, allocations: 79.55 kB / 1.325 GB, free: 32.65 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003372/1.081, allocations: 132.1 kB / 1.325 GB, free: 32.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-05/1.081, allocations: 39.72 kB / 1.325 GB, free: 32.56 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001039/1.082, allocations: 0.7622 MB / 1.326 GB, free: 32.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.082, allocations: 0 / 1.326 GB, free: 32.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002277/1.084, allocations: 0.6585 MB / 1.327 GB, free: 32.08 MB / 0.9981 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.004734/1.089, allocations: 3.749 MB / 1.33 GB, free: 29.63 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004354/1.094, allocations: 3.146 MB / 1.333 GB, free: 27.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.094, allocations: 3.812 kB / 1.333 GB, free: 27.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002523/1.096, allocations: 1.947 MB / 1.335 GB, free: 26.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.099, allocations: 0.4978 MB / 1.336 GB, free: 26.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/1.126, allocations: 19.11 MB / 1.355 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/1.129, allocations: 2.342 MB / 1.357 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001018/1.13, allocations: 350.1 kB / 1.357 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/1.131, allocations: 1.007 MB / 1.358 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of SimCode: time 1.232e-06/1.131, allocations: 0 / 1.358 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08773/1.219, allocations: 52.29 MB / 1.409 GB, free: 15.04 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13.15, allocations: 21.52 kB / 1.409 GB, free: 15.03 MB / 1.061 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > 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.csv","/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