Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_10_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.005087/0.005087, allocations: 98.97 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.001412/0.001412, allocations: 193 kB / 16.67 MB, free: 5.93 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.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.29/2.29, allocations: 437.1 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6174, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01538/0.6329, allocations: 11.09 MB / 1.177 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.6432, allocations: 5.797 MB / 1.183 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006505/0.6439, allocations: 51.69 kB / 1.183 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005088/0.649, allocations: 1.719 MB / 1.184 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004013/0.653, allocations: 1.147 MB / 1.186 GB, free: 15.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.6558, allocations: 0.8181 MB / 1.186 GB, free: 15.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003519/0.6593, allocations: 2.123 MB / 1.188 GB, free: 12.96 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.6616, allocations: 1.31 MB / 1.19 GB, free: 11.63 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.663, allocations: 0.8445 MB / 1.191 GB, free: 10.78 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.6646, allocations: 0.9143 MB / 1.191 GB, free: 9.863 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002357/0.6649, allocations: 112 kB / 1.192 GB, free: 9.754 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.6669, allocations: 1.177 MB / 1.193 GB, free: 8.574 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004785/0.6674, allocations: 0.5259 MB / 1.193 GB, free: 8.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007214/0.6681, allocations: 0.7849 MB / 1.194 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.6707, allocations: 2.436 MB / 1.196 GB, free: 4.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.6707, allocations: 0 / 1.196 GB, free: 4.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6707, allocations: 0 / 1.196 GB, free: 4.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.6707, allocations: 0 / 1.196 GB, free: 4.816 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002679/0.6734, allocations: 1.923 MB / 1.198 GB, free: 2.832 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.6734, allocations: 8.922 kB / 1.198 GB, free: 2.824 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.6737, allocations: 207.4 kB / 1.198 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004063/0.6777, allocations: 0.6825 MB / 1.199 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6792, allocations: 1.017 MB / 1.2 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.61e-05/0.6793, allocations: 94.83 kB / 1.2 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.6795, allocations: 128.3 kB / 1.2 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.6824, allocations: 2.21 MB / 1.202 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.6824, allocations: 15.88 kB / 1.202 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.6826, allocations: 59.97 kB / 1.203 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001919/0.6827, allocations: 162.3 kB / 1.203 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.6854, allocations: 1.867 MB / 1.204 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/0.6967, allocations: 12.45 MB / 1.217 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004031/0.7008, allocations: 1.973 MB / 1.219 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008166/0.7016, allocations: 0.605 MB / 1.219 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.7018, allocations: 106.1 kB / 1.219 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.7018, allocations: 43.5 kB / 1.219 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=103): time 2.715e-06/0.7018, allocations: 0 / 1.219 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110): time 0.005812/0.7076, allocations: 3.736 MB / 1.223 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.7077, allocations: 68.41 kB / 1.223 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.7087, allocations: 0.9205 MB / 1.224 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.7088, allocations: 45.7 kB / 1.224 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005146/0.7093, allocations: 0.7494 MB / 1.225 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/0.7096, allocations: 404.5 kB / 1.225 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003737/0.71, allocations: 287.4 kB / 1.225 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7101, allocations: 301.1 kB / 1.226 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008656/0.711, allocations: 0.6168 MB / 1.226 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.7122, allocations: 1.109 MB / 1.227 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.7144, allocations: 1.828 MB / 1.229 GB, free: 1.242 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.7145, allocations: 4 kB / 1.229 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003104/0.7176, allocations: 2.108 MB / 1.231 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.7176, allocations: 12 kB / 1.231 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.7176, allocations: 16.91 kB / 1.231 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007237/0.7184, allocations: 258.6 kB / 1.231 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.7195, allocations: 375.4 kB / 1.232 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008559/0.7281, allocations: 11.58 MB / 1.243 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009606/0.7291, allocations: 127.8 kB / 1.243 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.7292, allocations: 72.14 kB / 1.243 GB, free: 1.523 MB / 0.9669 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.0005312/0.7297, allocations: 405.2 kB / 1.244 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.7299, allocations: 135.2 kB / 1.244 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.7326, allocations: 1.683 MB / 1.245 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.7326, allocations: 12 kB / 1.245 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7326, allocations: 4 kB / 1.245 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.7326, allocations: 3.984 kB / 1.245 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004541/0.7372, allocations: 3.297 MB / 1.249 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.7372, allocations: 4 kB / 1.249 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/0.738, allocations: 223.6 kB / 1.249 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006763/0.7387, allocations: 243.1 kB / 1.249 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.97e-05/0.7388, allocations: 31.94 kB / 1.249 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008714/0.7475, allocations: 11.57 MB / 1.26 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.7475, allocations: 7.938 kB / 1.26 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.7501, allocations: 1.812 MB / 1.262 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004605/0.7505, allocations: 312.1 kB / 1.263 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.7507, allocations: 24 kB / 1.263 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.7513, allocations: 95.88 kB / 1.263 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.7515, allocations: 100.6 kB / 1.263 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.7516, allocations: 35.98 kB / 1.263 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007407/0.7523, allocations: 0.6177 MB / 1.263 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7524, allocations: 0 / 1.263 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001224/0.7536, allocations: 399.9 kB / 1.264 GB, free: 11.08 MB / 0.9981 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.002814/0.7564, allocations: 2.391 MB / 1.266 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003316/0.7597, allocations: 2.5 MB / 1.269 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.7597, allocations: 0.875 kB / 1.269 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.7617, allocations: 1.637 MB / 1.27 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.7632, allocations: 357.6 kB / 1.271 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/0.7775, allocations: 11.53 MB / 1.282 GB, free: 7.617 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/0.7785, allocations: 1.331 MB / 1.283 GB, free: 6.254 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008357/0.7793, allocations: 355.3 kB / 1.283 GB, free: 5.902 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/0.78, allocations: 0.5344 MB / 1.284 GB, free: 5.367 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/0.78, allocations: 8 kB / 1.284 GB, free: 5.359 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.63/3.41, allocations: 28.29 MB / 1.312 GB, free: 9.418 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.87/21.28, allocations: 12 kB / 1.312 GB, free: 9.406 MB / 1.045 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches