Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.006038/0.006038, allocations: 102.7 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.001471/0.001471, allocations: 191.2 kB / 16.67 MB, free: 5.953 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 71.89 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8308, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04554/0.8764, allocations: 37.96 MB / 1.125 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0219/0.8984, allocations: 10.98 MB / 1.135 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005031/0.9034, allocations: 156.4 kB / 1.135 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0123/0.9158, allocations: 4.357 MB / 1.14 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008189/0.924, allocations: 2.223 MB / 1.142 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007601/0.9316, allocations: 2.168 MB / 1.144 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01602/0.9477, allocations: 9.285 MB / 1.153 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02139/0.9691, allocations: 11.27 MB / 1.164 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009198/0.9783, allocations: 3.989 MB / 1.168 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009465/0.9879, allocations: 4.515 MB / 1.172 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003544/0.9914, allocations: 0.8226 MB / 1.173 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006472/0.9979, allocations: 1.591 MB / 1.175 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006748/1.005, allocations: 3.151 MB / 1.178 GB, free: 14.97 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01077/1.015, allocations: 3.652 MB / 1.181 GB, free: 12.42 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01958/1.035, allocations: 12.32 MB / 1.193 GB, free: 1.578 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/1.035, allocations: 8 kB / 1.193 GB, free: 1.57 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.944e-06/1.035, allocations: 0 / 1.193 GB, free: 1.57 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004482/1.036, allocations: 4 kB / 1.193 GB, free: 1.566 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01829/1.054, allocations: 6.311 MB / 1.2 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.054, allocations: 8.031 kB / 1.2 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002505/1.057, allocations: 0.8333 MB / 1.2 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006326/1.063, allocations: 1.063 MB / 1.201 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009366/1.072, allocations: 3.614 MB / 1.205 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000493/1.073, allocations: 423.8 kB / 1.205 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/1.075, allocations: 0.5394 MB / 1.206 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02261/1.098, allocations: 9.377 MB / 1.215 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002604/1.098, allocations: 23.72 kB / 1.215 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001875/1.1, allocations: 244 kB / 1.215 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007458/1.101, allocations: 422.9 kB / 1.216 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/1.116, allocations: 7.127 MB / 1.223 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04933/1.165, allocations: 41.01 MB / 1.263 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004908/1.17, allocations: 3.104 MB / 1.266 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00308/1.173, allocations: 2.157 MB / 1.268 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/1.174, allocations: 22 kB / 1.268 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.745e-05/1.174, allocations: 64.56 kB / 1.268 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.359e-06/1.174, allocations: 0 / 1.268 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02452/1.198, allocations: 10.55 MB / 1.278 GB, free: 6.355 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/1.198, allocations: 73.41 kB / 1.278 GB, free: 6.273 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/1.202, allocations: 2.005 MB / 1.28 GB, free: 4.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003988/1.202, allocations: 65.7 kB / 1.28 GB, free: 4.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/1.204, allocations: 2.404 MB / 1.283 GB, free: 1.742 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008954/1.205, allocations: 0.7318 MB / 1.283 GB, free: 1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/1.206, allocations: 477.2 kB / 1.284 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/1.206, allocations: 305.1 kB / 1.284 GB, free: 232 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.208, allocations: 1.372 MB / 1.285 GB, free: 14.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/1.21, allocations: 2.108 MB / 1.288 GB, free: 12.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004783/1.215, allocations: 3.766 MB / 1.291 GB, free: 8.348 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/1.215, allocations: 12 kB / 1.291 GB, free: 8.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00858/1.224, allocations: 5.065 MB / 1.296 GB, free: 3.246 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/1.224, allocations: 20.03 kB / 1.296 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/1.224, allocations: 24 kB / 1.296 GB, free: 3.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/1.227, allocations: 1.58 MB / 1.298 GB, free: 1.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/1.229, allocations: 455.2 kB / 1.298 GB, free: 1.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02322/1.253, allocations: 18.57 MB / 1.316 GB, free: 14.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/1.255, allocations: 147.9 kB / 1.316 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000486/1.256, allocations: 104 kB / 1.317 GB, free: 13.79 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004148/1.26, allocations: 1.957 MB / 1.318 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009991/1.261, allocations: 284.7 kB / 1.319 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007978/1.269, allocations: 4.451 MB / 1.323 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.269, allocations: 20 kB / 1.323 GB, free: 7.035 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-05/1.269, allocations: 16 kB / 1.323 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/1.269, allocations: 11.95 kB / 1.323 GB, free: 7.008 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01823/1.287, allocations: 9.672 MB / 1.333 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.287, allocations: 4 kB / 1.333 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.288, allocations: 227.7 kB / 1.333 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003409/1.292, allocations: 1.431 MB / 1.334 GB, free: 11.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/1.292, allocations: 40 kB / 1.334 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0227/1.315, allocations: 18.57 MB / 1.352 GB, free: 8.355 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.315, allocations: 11.94 kB / 1.352 GB, free: 8.344 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007647/1.322, allocations: 4.533 MB / 1.357 GB, free: 3.727 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/1.324, allocations: 0.6344 MB / 1.357 GB, free: 3.07 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007533/1.325, allocations: 39.98 kB / 1.357 GB, free: 3.031 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/1.327, allocations: 123.8 kB / 1.358 GB, free: 2.91 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005841/1.327, allocations: 185.3 kB / 1.358 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/1.328, allocations: 59.98 kB / 1.358 GB, free: 2.668 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002393/1.33, allocations: 1.315 MB / 1.359 GB, free: 1.344 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.61e-07/1.33, allocations: 0 / 1.359 GB, free: 1.344 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004863/1.335, allocations: 1.137 MB / 1.36 GB, free: 212 kB / 1.092 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008299/1.343, allocations: 5.164 MB / 1.365 GB, free: 10.95 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007806/1.351, allocations: 4.712 MB / 1.37 GB, free: 6.184 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/1.351, allocations: 4 kB / 1.37 GB, free: 6.18 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005161/1.356, allocations: 2.921 MB / 1.373 GB, free: 3.207 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005044/1.361, allocations: 0.8891 MB / 1.374 GB, free: 2.332 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05087/1.412, allocations: 30.38 MB / 1.403 GB, free: 2.762 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005569/1.418, allocations: 3.694 MB / 1.407 GB, free: 15.04 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002194/1.42, allocations: 0.5556 MB / 1.407 GB, free: 14.47 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002761/1.423, allocations: 1.952 MB / 1.409 GB, free: 12.52 MB / 1.154 GB Notification: Performance of SimCode: time 9.92e-07/1.423, allocations: 0 / 1.409 GB, free: 12.52 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/1.563, allocations: 85.25 MB / 1.493 GB, free: 8.223 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.86, allocations: 13.2 kB / 1.493 GB, free: 8.215 MB / 1.232 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches