Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.00813/0.00813, allocations: 98.05 kB / 15.73 MB, free: 6.004 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.002148/0.002148, allocations: 197.6 kB / 16.67 MB, free: 5.922 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.758/2.758, allocations: 469.8 MB / 0.7425 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 63.91 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2774, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01342/0.2908, allocations: 11.1 MB / 1.231 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.009045/0.2999, allocations: 5.796 MB / 1.237 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008051/0.3008, allocations: 55.62 kB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004093/0.3049, allocations: 1.723 MB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.3078, allocations: 1.155 MB / 1.24 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.3098, allocations: 0.8065 MB / 1.24 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002463/0.3122, allocations: 2.123 MB / 1.242 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.3138, allocations: 1.303 MB / 1.244 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.3149, allocations: 0.8484 MB / 1.245 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.316, allocations: 0.9143 MB / 1.245 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.3162, allocations: 112 kB / 1.246 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.3183, allocations: 1.181 MB / 1.247 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000513/0.3188, allocations: 0.5297 MB / 1.247 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007769/0.3196, allocations: 0.7888 MB / 1.248 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5277/0.8473, allocations: 2.427 MB / 1.25 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8473, allocations: 0.75 kB / 1.25 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8474, allocations: 0.75 kB / 1.25 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.725e-05/0.8474, allocations: 0.625 kB / 1.25 GB, free: 9.594 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002707/0.8501, allocations: 1.916 MB / 1.252 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.8502, allocations: 10.36 kB / 1.252 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/0.8504, allocations: 210.9 kB / 1.252 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.8547, allocations: 0.6774 MB / 1.253 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.8561, allocations: 1.011 MB / 1.254 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.58e-05/0.8562, allocations: 105.1 kB / 1.254 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.8564, allocations: 130.7 kB / 1.254 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/0.8591, allocations: 2.207 MB / 1.256 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.8591, allocations: 10.03 kB / 1.256 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.8593, allocations: 63.72 kB / 1.257 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001978/0.8595, allocations: 161.9 kB / 1.257 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.8619, allocations: 1.868 MB / 1.258 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009651/0.8716, allocations: 12.44 MB / 1.271 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004308/0.8759, allocations: 1.974 MB / 1.273 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.8768, allocations: 0.6064 MB / 1.273 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.8769, allocations: 97.77 kB / 1.273 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.877, allocations: 41.84 kB / 1.273 GB, free: 14.09 MB / 1.014 GB Notification: Performance of pre-optimization done (n=103): time 2.706e-06/0.877, allocations: 0 / 1.273 GB, free: 14.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.006795/0.8838, allocations: 3.733 MB / 1.277 GB, free: 12.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.8838, allocations: 63.84 kB / 1.277 GB, free: 12.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.8849, allocations: 0.9242 MB / 1.278 GB, free: 12.66 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.289e-05/0.885, allocations: 45.36 kB / 1.278 GB, free: 12.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.8855, allocations: 0.7534 MB / 1.279 GB, free: 12.21 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.8858, allocations: 403.7 kB / 1.279 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/0.8862, allocations: 285.3 kB / 1.279 GB, free: 11.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8863, allocations: 303.1 kB / 1.28 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008882/0.8872, allocations: 0.6126 MB / 1.28 GB, free: 11.62 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.8884, allocations: 1.108 MB / 1.281 GB, free: 11.03 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.8906, allocations: 1.833 MB / 1.283 GB, free: 10.42 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.8906, allocations: 4.281 kB / 1.283 GB, free: 10.42 MB / 1.014 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003235/0.8938, allocations: 2.106 MB / 1.285 GB, free: 10.22 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.8939, allocations: 11.72 kB / 1.285 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.8939, allocations: 15.34 kB / 1.285 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007803/0.8947, allocations: 258.4 kB / 1.285 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.8959, allocations: 372 kB / 1.286 GB, free: 10.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009189/0.9051, allocations: 11.6 MB / 1.297 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.9064, allocations: 124.2 kB / 1.297 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.9065, allocations: 78.64 kB / 1.297 GB, free: 14.75 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006693/0.9072, allocations: 411.4 kB / 1.298 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.9074, allocations: 137.3 kB / 1.298 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/0.9104, allocations: 1.684 MB / 1.299 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.9104, allocations: 14.12 kB / 1.299 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.9104, allocations: 2.094 kB / 1.299 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.9104, allocations: 5.578 kB / 1.299 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005273/0.9157, allocations: 3.285 MB / 1.303 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.9157, allocations: 5.719 kB / 1.303 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008557/0.9166, allocations: 225.8 kB / 1.303 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007112/0.9173, allocations: 242.9 kB / 1.303 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.9174, allocations: 31.5 kB / 1.303 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009289/0.9267, allocations: 11.57 MB / 1.314 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.9267, allocations: 8.969 kB / 1.314 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.9298, allocations: 1.806 MB / 1.316 GB, free: 15.96 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.9304, allocations: 317.9 kB / 1.317 GB, free: 15.76 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.9306, allocations: 28.05 kB / 1.317 GB, free: 15.74 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000738/0.9314, allocations: 92.61 kB / 1.317 GB, free: 15.73 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/0.9316, allocations: 99.72 kB / 1.317 GB, free: 15.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.9317, allocations: 36.11 kB / 1.317 GB, free: 15.7 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008393/0.9325, allocations: 0.6167 MB / 1.317 GB, free: 15.44 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9325, allocations: 0 / 1.317 GB, free: 15.44 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001521/0.9341, allocations: 397 kB / 1.318 GB, free: 15.39 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003152/0.9372, allocations: 2.388 MB / 1.32 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00375/0.941, allocations: 2.497 MB / 1.323 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.941, allocations: 1.156 kB / 1.323 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.9432, allocations: 1.638 MB / 1.324 GB, free: 11.49 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.945, allocations: 362.1 kB / 1.324 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.9615, allocations: 11.53 MB / 1.336 GB, free: 5.051 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.9625, allocations: 1.328 MB / 1.337 GB, free: 4.277 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001055/0.9636, allocations: 358 kB / 1.337 GB, free: 4.219 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/0.9643, allocations: 0.5376 MB / 1.338 GB, free: 3.805 MB / 1.045 GB Notification: Performance of SimCode: time 6.62e-07/0.9643, allocations: 0 / 1.338 GB, free: 3.805 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07537/1.04, allocations: 28.29 MB / 1.366 GB, free: 8.887 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.47, allocations: 14.36 kB / 1.366 GB, free: 8.879 MB / 1.061 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches