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.001465/0.001465, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 190.5 kB / 16.67 MB, free: 6.582 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.599/2.599, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 68.11 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2745, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01319/0.2877, allocations: 11.1 MB / 1.231 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008373/0.2961, allocations: 5.804 MB / 1.237 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004201/0.2966, allocations: 47.69 kB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003809/0.3004, allocations: 1.727 MB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.3025, allocations: 1.147 MB / 1.24 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.3041, allocations: 0.8098 MB / 1.24 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002124/0.3063, allocations: 2.123 MB / 1.242 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.3077, allocations: 1.303 MB / 1.244 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009247/0.3087, allocations: 0.8562 MB / 1.244 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3097, allocations: 0.9065 MB / 1.245 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.3099, allocations: 116 kB / 1.245 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.3117, allocations: 1.181 MB / 1.247 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004906/0.3122, allocations: 0.522 MB / 1.247 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007631/0.313, allocations: 0.7849 MB / 1.248 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4748/0.7878, allocations: 2.439 MB / 1.25 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7878, allocations: 0.875 kB / 1.25 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7878, allocations: 0 / 1.25 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.089e-05/0.7879, allocations: 0 / 1.25 GB, free: 10.11 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.002532/0.7904, allocations: 1.921 MB / 1.252 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.7905, allocations: 9.625 kB / 1.252 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002172/0.7907, allocations: 214.3 kB / 1.252 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003935/0.7946, allocations: 0.6708 MB / 1.253 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.7959, allocations: 1.017 MB / 1.254 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.796, allocations: 97.72 kB / 1.254 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.7962, allocations: 127.9 kB / 1.254 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.7986, allocations: 2.209 MB / 1.256 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.138e-05/0.7987, allocations: 12.95 kB / 1.256 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.7988, allocations: 60.61 kB / 1.256 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.799, allocations: 162.7 kB / 1.257 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002384/0.8014, allocations: 1.871 MB / 1.258 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008798/0.8102, allocations: 12.44 MB / 1.271 GB, free: 14.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/0.8143, allocations: 1.975 MB / 1.273 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/0.8151, allocations: 0.6056 MB / 1.273 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.8153, allocations: 100.8 kB / 1.273 GB, free: 14.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.8153, allocations: 42.5 kB / 1.273 GB, free: 14.6 MB / 1.014 GB Notification: Performance of pre-optimization done (n=103): time 2.955e-06/0.8153, allocations: 4 kB / 1.273 GB, free: 14.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=110): time 0.005971/0.8213, allocations: 3.727 MB / 1.277 GB, free: 13.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.8213, allocations: 67.55 kB / 1.277 GB, free: 13.33 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009349/0.8223, allocations: 0.9258 MB / 1.278 GB, free: 13.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.8224, allocations: 43.05 kB / 1.278 GB, free: 13.13 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.8227, allocations: 0.7531 MB / 1.279 GB, free: 12.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.8229, allocations: 398.9 kB / 1.279 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.8233, allocations: 285.5 kB / 1.279 GB, free: 12.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8234, allocations: 304.1 kB / 1.28 GB, free: 12.13 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008025/0.8242, allocations: 0.6162 MB / 1.28 GB, free: 12.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.8253, allocations: 1.105 MB / 1.281 GB, free: 11.54 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.8274, allocations: 1.83 MB / 1.283 GB, free: 10.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.8274, allocations: 4.344 kB / 1.283 GB, free: 10.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003058/0.8304, allocations: 2.106 MB / 1.285 GB, free: 10.46 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.8305, allocations: 11.53 kB / 1.285 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.8305, allocations: 20.05 kB / 1.285 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007578/0.8313, allocations: 261 kB / 1.285 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.8324, allocations: 373.9 kB / 1.286 GB, free: 10.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009224/0.8417, allocations: 11.59 MB / 1.297 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.843, allocations: 123.9 kB / 1.297 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.8431, allocations: 78.33 kB / 1.297 GB, free: 14.96 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.0006332/0.8437, allocations: 407.2 kB / 1.298 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.8439, allocations: 136.9 kB / 1.298 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.8468, allocations: 1.684 MB / 1.299 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.8468, allocations: 13.86 kB / 1.299 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8468, allocations: 2.984 kB / 1.299 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.8468, allocations: 5.484 kB / 1.299 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004795/0.8516, allocations: 3.285 MB / 1.303 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.8517, allocations: 6.062 kB / 1.303 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.8524, allocations: 223.8 kB / 1.303 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006716/0.8531, allocations: 242.2 kB / 1.303 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.8532, allocations: 27.61 kB / 1.303 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009054/0.8623, allocations: 11.57 MB / 1.314 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.8623, allocations: 9.578 kB / 1.314 GB, free: 1.098 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.8648, allocations: 1.803 MB / 1.316 GB, free: 184 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.8654, allocations: 322.1 kB / 1.317 GB, free: 0 / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.8656, allocations: 31.98 kB / 1.317 GB, free: 0 / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00068/0.8663, allocations: 98.45 kB / 1.317 GB, free: 15.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.8665, allocations: 100 kB / 1.317 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.8665, allocations: 36.3 kB / 1.317 GB, free: 15.95 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0008397/0.8674, allocations: 0.6199 MB / 1.317 GB, free: 15.69 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8674, allocations: 2.188 kB / 1.317 GB, free: 15.69 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001355/0.8688, allocations: 390.6 kB / 1.318 GB, free: 15.65 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.003008/0.8718, allocations: 2.393 MB / 1.32 GB, free: 14.17 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003507/0.8753, allocations: 2.497 MB / 1.323 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8753, allocations: 1.312 kB / 1.323 GB, free: 12.84 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/0.8774, allocations: 1.636 MB / 1.324 GB, free: 11.74 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.879, allocations: 357.3 kB / 1.324 GB, free: 11.62 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.8948, allocations: 11.53 MB / 1.336 GB, free: 5.301 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.8959, allocations: 1.329 MB / 1.337 GB, free: 4.527 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0009675/0.8969, allocations: 357.8 kB / 1.337 GB, free: 4.469 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007022/0.8976, allocations: 0.5347 MB / 1.338 GB, free: 4.059 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/0.8976, allocations: 4 kB / 1.338 GB, free: 4.055 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4947/1.392, allocations: 28.29 MB / 1.366 GB, free: 9.203 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/16.06, allocations: 2.672 kB / 1.366 GB, free: 9.203 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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