Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.007525/0.007525, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001923/0.001924, allocations: 195.3 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3102, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.5998/0.9101, allocations: 26.66 MB / 1.268 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.9235, allocations: 8.058 MB / 1.275 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002669/0.9262, allocations: 119.7 kB / 1.275 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007029/0.9332, allocations: 2.759 MB / 1.278 GB, free: 11.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.938, allocations: 1.588 MB / 1.28 GB, free: 10.47 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004443/0.9424, allocations: 1.677 MB / 1.281 GB, free: 9.527 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008014/0.9504, allocations: 6.138 MB / 1.287 GB, free: 6.742 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008627/0.9591, allocations: 7.313 MB / 1.295 GB, free: 3.852 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.9636, allocations: 2.569 MB / 1.297 GB, free: 2.664 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004845/0.9685, allocations: 2.837 MB / 1.3 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001084/0.9696, allocations: 0.5122 MB / 1.3 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.9727, allocations: 1.283 MB / 1.302 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002582/0.9753, allocations: 2.05 MB / 1.304 GB, free: 272 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003829/0.9791, allocations: 2.384 MB / 1.306 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01121/0.9904, allocations: 8.073 MB / 1.314 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.9904, allocations: 0 / 1.314 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9904, allocations: 1.375 kB / 1.314 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002129/0.9906, allocations: 4 kB / 1.314 GB, free: 12.15 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01077/1.001, allocations: 4.329 MB / 1.318 GB, free: 9.641 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/1.001, allocations: 9.031 kB / 1.318 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009795/1.002, allocations: 0.5392 MB / 1.319 GB, free: 9.344 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/1.007, allocations: 0.8198 MB / 1.319 GB, free: 9.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005312/1.012, allocations: 2.591 MB / 1.322 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/1.013, allocations: 278.4 kB / 1.322 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009056/1.014, allocations: 377.9 kB / 1.322 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/1.024, allocations: 5.99 MB / 1.328 GB, free: 4.242 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/1.024, allocations: 19.39 kB / 1.328 GB, free: 4.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004494/1.025, allocations: 158.7 kB / 1.329 GB, free: 4.113 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005925/1.025, allocations: 280.5 kB / 1.329 GB, free: 4.043 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00783/1.033, allocations: 4.527 MB / 1.333 GB, free: 1.711 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0302/1.063, allocations: 27.5 MB / 1.36 GB, free: 8.102 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/1.065, allocations: 1.12 MB / 1.361 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/1.067, allocations: 1.02 MB / 1.362 GB, free: 6.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.046e-05/1.067, allocations: 10.69 kB / 1.362 GB, free: 6.992 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/1.067, allocations: 48.94 kB / 1.362 GB, free: 6.941 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 2.635e-06/1.067, allocations: 0 / 1.362 GB, free: 6.941 MB / 1.061 GB Notification: Performance of matching and sorting (n=131): time 0.02223/1.089, allocations: 9.736 MB / 1.372 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/1.089, allocations: 68.72 kB / 1.372 GB, free: 0.625 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/1.091, allocations: 1.494 MB / 1.373 GB, free: 15.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.091, allocations: 45.7 kB / 1.373 GB, free: 15.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.092, allocations: 1.711 MB / 1.375 GB, free: 13.35 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004438/1.093, allocations: 495.8 kB / 1.375 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00057/1.094, allocations: 335.4 kB / 1.376 GB, free: 12.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.094, allocations: 309.1 kB / 1.376 GB, free: 12.22 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/1.095, allocations: 0.9174 MB / 1.377 GB, free: 11.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/1.097, allocations: 1.455 MB / 1.378 GB, free: 9.609 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/1.1, allocations: 2.554 MB / 1.381 GB, free: 6.812 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/1.1, allocations: 8 kB / 1.381 GB, free: 6.805 MB / 1.076 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006174/1.107, allocations: 3.299 MB / 1.384 GB, free: 3.469 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/1.107, allocations: 16 kB / 1.384 GB, free: 3.453 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/1.107, allocations: 20 kB / 1.384 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/1.109, allocations: 0.7373 MB / 1.385 GB, free: 2.668 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.111, allocations: 383.4 kB / 1.385 GB, free: 2.293 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/1.128, allocations: 17.04 MB / 1.402 GB, free: 15.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.13, allocations: 95.86 kB / 1.402 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/1.13, allocations: 79.98 kB / 1.402 GB, free: 15.81 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002319/1.132, allocations: 1.308 MB / 1.403 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003906/1.133, allocations: 210.7 kB / 1.403 GB, free: 14.29 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/1.138, allocations: 2.796 MB / 1.406 GB, free: 11.45 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.138, allocations: 12 kB / 1.406 GB, free: 11.44 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.138, allocations: 8.188 kB / 1.406 GB, free: 11.43 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/1.138, allocations: 7.984 kB / 1.406 GB, free: 11.43 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/1.149, allocations: 6.217 MB / 1.412 GB, free: 5.047 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.149, allocations: 8 kB / 1.412 GB, free: 5.039 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/1.15, allocations: 232.3 kB / 1.413 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002122/1.152, allocations: 0.6671 MB / 1.413 GB, free: 4.117 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/1.153, allocations: 39.98 kB / 1.413 GB, free: 4.078 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/1.169, allocations: 16.8 MB / 1.43 GB, free: 2.02 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.169, allocations: 12 kB / 1.43 GB, free: 2.008 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/1.176, allocations: 4.017 MB / 1.434 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.177, allocations: 463.7 kB / 1.434 GB, free: 13.41 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002814/1.178, allocations: 31.94 kB / 1.434 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009394/1.178, allocations: 83.89 kB / 1.434 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003179/1.179, allocations: 120.7 kB / 1.434 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/1.179, allocations: 36 kB / 1.434 GB, free: 13.14 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001435/1.18, allocations: 0.9942 MB / 1.435 GB, free: 12.16 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.11e-07/1.18, allocations: 0 / 1.435 GB, free: 12.16 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002318/1.183, allocations: 0.6914 MB / 1.436 GB, free: 11.47 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006785/1.189, allocations: 4.612 MB / 1.44 GB, free: 6.73 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005527/1.195, allocations: 3.527 MB / 1.444 GB, free: 3.09 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.195, allocations: 3.938 kB / 1.444 GB, free: 3.086 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00338/1.198, allocations: 2.299 MB / 1.446 GB, free: 0.668 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/1.201, allocations: 0.6746 MB / 1.447 GB, free: 16 kB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03485/1.236, allocations: 21.27 MB / 1.468 GB, free: 9.879 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/1.239, allocations: 2.668 MB / 1.47 GB, free: 7.18 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001476/1.241, allocations: 485.4 kB / 1.471 GB, free: 6.703 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/1.243, allocations: 1.28 MB / 1.472 GB, free: 5.426 MB / 1.17 GB Notification: Performance of SimCode: time 4.9e-07/1.243, allocations: 0 / 1.472 GB, free: 5.426 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/1.367, allocations: 57.21 MB / 1.528 GB, free: 12.92 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/14.35, allocations: 19.44 kB / 1.528 GB, free: 12.9 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches