Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_9_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.00692/0.00692, allocations: 96.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.001653/0.001653, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 66.47 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2438, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01375/0.2576, allocations: 11.1 MB / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00965/0.2673, allocations: 5.781 MB / 1.104 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.2685, allocations: 55.56 kB / 1.104 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.2732, allocations: 1.728 MB / 1.106 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.2766, allocations: 1.178 MB / 1.107 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.279, allocations: 0.8065 MB / 1.108 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003026/0.282, allocations: 2.138 MB / 1.11 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001936/0.284, allocations: 1.315 MB / 1.111 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.2854, allocations: 0.8523 MB / 1.112 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.2871, allocations: 0.9104 MB / 1.113 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003548/0.2874, allocations: 116 kB / 1.113 GB, free: 7.934 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.2898, allocations: 1.177 MB / 1.114 GB, free: 6.754 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007875/0.2906, allocations: 0.5259 MB / 1.115 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/0.2919, allocations: 0.7888 MB / 1.115 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004352/0.2963, allocations: 2.432 MB / 1.118 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.2963, allocations: 0 / 1.118 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2963, allocations: 0 / 1.118 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.539e-05/0.2964, allocations: 0 / 1.118 GB, free: 2.992 MB / 0.8731 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.003605/0.3, allocations: 1.923 MB / 1.12 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3001, allocations: 12.03 kB / 1.12 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003081/0.3004, allocations: 215.4 kB / 1.12 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00486/0.3053, allocations: 0.6786 MB / 1.12 GB, free: 96 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.3074, allocations: 1.021 MB / 1.121 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.759e-05/0.3075, allocations: 90.89 kB / 1.121 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003245/0.3078, allocations: 124.4 kB / 1.122 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/0.3115, allocations: 2.21 MB / 1.124 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.74e-05/0.3116, allocations: 11.88 kB / 1.124 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.3118, allocations: 59.97 kB / 1.124 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/0.312, allocations: 162.3 kB / 1.124 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/0.3152, allocations: 1.871 MB / 1.126 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/0.33, allocations: 12.45 MB / 1.138 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/0.3346, allocations: 1.964 MB / 1.14 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009247/0.3356, allocations: 0.6089 MB / 1.14 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.3358, allocations: 102.1 kB / 1.141 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/0.3358, allocations: 51.5 kB / 1.141 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=103): time 2.755e-06/0.3358, allocations: 0 / 1.141 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of matching and sorting (n=110): time 0.006582/0.3424, allocations: 3.732 MB / 1.144 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3425, allocations: 68.39 kB / 1.144 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.3438, allocations: 0.9128 MB / 1.145 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.049e-05/0.3439, allocations: 45.7 kB / 1.145 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005387/0.3444, allocations: 0.7494 MB / 1.146 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.3448, allocations: 404.5 kB / 1.146 GB, free: 4 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/0.3452, allocations: 287.4 kB / 1.147 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.3453, allocations: 309.1 kB / 1.147 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009653/0.3463, allocations: 0.6129 MB / 1.148 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.3476, allocations: 1.106 MB / 1.149 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002373/0.35, allocations: 1.828 MB / 1.15 GB, free: 15.42 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.35, allocations: 4 kB / 1.15 GB, free: 15.42 MB / 0.92 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003601/0.3536, allocations: 2.108 MB / 1.152 GB, free: 13.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.3537, allocations: 12 kB / 1.153 GB, free: 13.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.3537, allocations: 20.16 kB / 1.153 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008565/0.3546, allocations: 258.7 kB / 1.153 GB, free: 12.97 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.3559, allocations: 371.4 kB / 1.153 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009246/0.3652, allocations: 11.58 MB / 1.164 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.3665, allocations: 139.9 kB / 1.165 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.3668, allocations: 71.92 kB / 1.165 GB, free: 15.7 MB / 0.9356 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.0008407/0.3676, allocations: 405.1 kB / 1.165 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/0.3679, allocations: 139.2 kB / 1.165 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/0.3709, allocations: 1.669 MB / 1.167 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3709, allocations: 8 kB / 1.167 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.371, allocations: 4 kB / 1.167 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.371, allocations: 15.97 kB / 1.167 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00564/0.3766, allocations: 3.291 MB / 1.17 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.3767, allocations: 7.938 kB / 1.17 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008981/0.3776, allocations: 223.6 kB / 1.17 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007465/0.3783, allocations: 243.3 kB / 1.17 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.584e-05/0.3784, allocations: 31.94 kB / 1.171 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009291/0.3877, allocations: 11.57 MB / 1.182 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.294e-05/0.3878, allocations: 11.94 kB / 1.182 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.3908, allocations: 1.804 MB / 1.184 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007186/0.3916, allocations: 316.1 kB / 1.184 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.3919, allocations: 31.89 kB / 1.184 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/0.3927, allocations: 95.86 kB / 1.184 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.393, allocations: 100.6 kB / 1.184 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.017e-05/0.3931, allocations: 36 kB / 1.184 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009157/0.394, allocations: 0.6138 MB / 1.185 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3e-07/0.394, allocations: 4 kB / 1.185 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001616/0.3956, allocations: 392 kB / 1.185 GB, free: 9.266 MB / 0.9512 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.003305/0.3989, allocations: 2.392 MB / 1.187 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003928/0.4029, allocations: 2.505 MB / 1.19 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/0.4029, allocations: 8.312 kB / 1.19 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/0.4053, allocations: 1.621 MB / 1.191 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/0.4074, allocations: 362 kB / 1.192 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/0.425, allocations: 11.52 MB / 1.203 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.4262, allocations: 1.327 MB / 1.204 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0009788/0.4272, allocations: 359.3 kB / 1.205 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007419/0.4279, allocations: 0.5383 MB / 1.205 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of SimCode: time 7.22e-07/0.428, allocations: 3.938 kB / 1.205 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07219/0.5002, allocations: 28.27 MB / 1.233 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.04, allocations: 15.2 kB / 1.233 GB, free: 7.586 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches