Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.007599/0.007599, allocations: 100.8 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.001654/0.001654, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.84 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.286, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.5763/0.8623, allocations: 35.13 MB / 1.254 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.8757, allocations: 9.931 MB / 1.264 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002608/0.8784, allocations: 144.7 kB / 1.264 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008051/0.8865, allocations: 3.804 MB / 1.268 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005387/0.8919, allocations: 2.042 MB / 1.27 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004881/0.8968, allocations: 1.963 MB / 1.272 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.9069, allocations: 7.967 MB / 1.28 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01355/0.9205, allocations: 9.53 MB / 1.289 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.9264, allocations: 3.382 MB / 1.292 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006589/0.933, allocations: 3.737 MB / 1.296 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002607/0.9356, allocations: 0.679 MB / 1.297 GB, free: 312 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005257/0.9409, allocations: 1.442 MB / 1.298 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00565/0.9466, allocations: 2.614 MB / 1.301 GB, free: 14.92 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.008864/0.9554, allocations: 3.101 MB / 1.304 GB, free: 12.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01653/0.972, allocations: 10.41 MB / 1.314 GB, free: 9.613 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.972, allocations: 3.938 kB / 1.314 GB, free: 9.609 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.214e-06/0.972, allocations: 1.312 kB / 1.314 GB, free: 9.609 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003222/0.9724, allocations: 4 kB / 1.314 GB, free: 9.605 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01835/0.9907, allocations: 5.538 MB / 1.319 GB, free: 6.027 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9908, allocations: 8.188 kB / 1.319 GB, free: 6.027 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002441/0.9932, allocations: 0.7088 MB / 1.32 GB, free: 5.523 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006456/0.9997, allocations: 0.9805 MB / 1.321 GB, free: 5.047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007573/1.007, allocations: 3.199 MB / 1.324 GB, free: 2.953 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003535/1.008, allocations: 353.8 kB / 1.324 GB, free: 2.793 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/1.01, allocations: 476.3 kB / 1.325 GB, free: 2.629 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/1.028, allocations: 7.904 MB / 1.333 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001329/1.028, allocations: 19.94 kB / 1.333 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00079/1.029, allocations: 212.4 kB / 1.333 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005529/1.029, allocations: 365.5 kB / 1.333 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/1.042, allocations: 5.937 MB / 1.339 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04486/1.087, allocations: 36.01 MB / 1.374 GB, free: 7.297 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003756/1.091, allocations: 2.135 MB / 1.376 GB, free: 5.148 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002146/1.093, allocations: 1.489 MB / 1.378 GB, free: 3.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.614e-05/1.093, allocations: 13.31 kB / 1.378 GB, free: 3.648 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.693e-05/1.093, allocations: 63.81 kB / 1.378 GB, free: 3.578 MB / 1.061 GB Notification: Performance of pre-optimization done (n=157): time 5.5e-06/1.093, allocations: 0 / 1.378 GB, free: 3.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=160): time 0.01541/1.109, allocations: 7.606 MB / 1.385 GB, free: 11.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/1.109, allocations: 72.66 kB / 1.385 GB, free: 11.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/1.112, allocations: 1.868 MB / 1.387 GB, free: 9.73 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/1.112, allocations: 53.7 kB / 1.387 GB, free: 9.672 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.113, allocations: 2.181 MB / 1.389 GB, free: 7.473 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000641/1.114, allocations: 0.5849 MB / 1.39 GB, free: 6.883 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006928/1.115, allocations: 404 kB / 1.39 GB, free: 6.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.115, allocations: 301.1 kB / 1.39 GB, free: 6.184 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.117, allocations: 1.062 MB / 1.391 GB, free: 5.117 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/1.119, allocations: 1.76 MB / 1.393 GB, free: 3.039 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004304/1.123, allocations: 3.052 MB / 1.396 GB, free: 15.67 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.637e-05/1.123, allocations: 8 kB / 1.396 GB, free: 15.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007138/1.131, allocations: 3.938 MB / 1.4 GB, free: 11.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/1.131, allocations: 16 kB / 1.4 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/1.131, allocations: 20 kB / 1.4 GB, free: 11.64 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/1.133, allocations: 0.9312 MB / 1.401 GB, free: 10.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.135, allocations: 431.2 kB / 1.401 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/1.159, allocations: 22.77 MB / 1.424 GB, free: 1.793 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/1.161, allocations: 123.9 kB / 1.424 GB, free: 1.672 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000365/1.162, allocations: 92 kB / 1.424 GB, free: 1.582 MB / 1.107 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00328/1.165, allocations: 1.657 MB / 1.425 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006501/1.165, allocations: 262.4 kB / 1.426 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006221/1.172, allocations: 3.264 MB / 1.429 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/1.172, allocations: 16 kB / 1.429 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/1.172, allocations: 8 kB / 1.429 GB, free: 12.32 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/1.172, allocations: 11.97 kB / 1.429 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.187, allocations: 7.549 MB / 1.436 GB, free: 4.605 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.187, allocations: 8 kB / 1.436 GB, free: 4.598 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.188, allocations: 220.2 kB / 1.436 GB, free: 4.383 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/1.19, allocations: 0.9037 MB / 1.437 GB, free: 3.441 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/1.19, allocations: 32 kB / 1.437 GB, free: 3.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02429/1.215, allocations: 22.74 MB / 1.46 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.215, allocations: 7.938 kB / 1.46 GB, free: 10.98 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006357/1.221, allocations: 3.388 MB / 1.463 GB, free: 7.473 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/1.223, allocations: 0.5423 MB / 1.463 GB, free: 6.91 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006317/1.223, allocations: 31.94 kB / 1.463 GB, free: 6.879 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.225, allocations: 91.89 kB / 1.464 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/1.225, allocations: 144.9 kB / 1.464 GB, free: 6.648 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/1.225, allocations: 44 kB / 1.464 GB, free: 6.605 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002253/1.228, allocations: 1.229 MB / 1.465 GB, free: 5.363 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/1.228, allocations: 0 / 1.465 GB, free: 5.363 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003625/1.231, allocations: 0.9102 MB / 1.466 GB, free: 4.453 MB / 1.154 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006622/1.238, allocations: 4.003 MB / 1.47 GB, free: 340 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.007433/1.245, allocations: 4.428 MB / 1.474 GB, free: 11.75 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.245, allocations: 4.25 kB / 1.474 GB, free: 11.74 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004724/1.25, allocations: 3.003 MB / 1.477 GB, free: 8.586 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/1.254, allocations: 0.8176 MB / 1.478 GB, free: 7.781 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04718/1.302, allocations: 25.2 MB / 1.502 GB, free: 13.47 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004891/1.307, allocations: 3.205 MB / 1.506 GB, free: 10.24 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001855/1.308, allocations: 0.5253 MB / 1.506 GB, free: 9.711 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002476/1.311, allocations: 1.651 MB / 1.508 GB, free: 8.059 MB / 1.201 GB Notification: Performance of SimCode: time 6.91e-07/1.311, allocations: 0 / 1.508 GB, free: 8.059 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1575/1.469, allocations: 70.27 MB / 1.576 GB, free: 2.664 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/15.36, allocations: 2.625 kB / 1.576 GB, free: 2.664 MB / 1.264 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches