Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_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.001961/0.00196, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.002156/0.002156, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.908/2.908, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.981/5.981, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008305/0.0008309, allocations: 8 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803/1.804, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.02095/1.825, allocations: 9.616 MB / 0.9903 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01687/1.842, allocations: 5.364 MB / 0.9955 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/1.845, allocations: 51.62 kB / 0.9955 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/1.847, allocations: 218.5 kB / 0.9958 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005769/1.853, allocations: 0.8373 MB / 0.9966 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003664/1.856, allocations: 0.5981 MB / 0.9972 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004974/1.861, allocations: 1.26 MB / 0.9984 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006707/1.868, allocations: 2.168 MB / 1.001 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/1.871, allocations: 0.6227 MB / 1.001 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/1.873, allocations: 0.6419 MB / 1.002 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000309/1.873, allocations: 67.94 kB / 1.002 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/1.875, allocations: 0.5109 MB / 1.002 GB, free: 260 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007563/1.876, allocations: 422.7 kB / 1.003 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007324/1.877, allocations: 292.9 kB / 1.003 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004087/1.881, allocations: 1.72 MB / 1.005 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.881, allocations: 0 / 1.005 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.358e-06/1.881, allocations: 0 / 1.005 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.017e-05/1.881, allocations: 4 kB / 1.005 GB, free: 13.82 MB / 0.7637 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.005097/1.886, allocations: 1.599 MB / 1.006 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001053/1.886, allocations: 8.031 kB / 1.006 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005768/1.887, allocations: 211.2 kB / 1.006 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007729/1.895, allocations: 0.6808 MB / 1.007 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003687/1.899, allocations: 0.875 MB / 1.008 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/1.899, allocations: 102.5 kB / 1.008 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/1.899, allocations: 127.9 kB / 1.008 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006886/1.906, allocations: 2.187 MB / 1.01 GB, free: 7.695 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.665e-05/1.906, allocations: 11.84 kB / 1.01 GB, free: 7.684 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/1.906, allocations: 63.97 kB / 1.01 GB, free: 7.621 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004071/1.907, allocations: 162.3 kB / 1.011 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00533/1.912, allocations: 1.855 MB / 1.012 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02419/1.937, allocations: 12.48 MB / 1.025 GB, free: 8.164 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/1.944, allocations: 1.957 MB / 1.026 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003435/1.944, allocations: 102.1 kB / 1.027 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.094e-05/1.944, allocations: 43.56 kB / 1.027 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=103): time 7.995e-06/1.944, allocations: 4 kB / 1.027 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.01129/1.955, allocations: 3.691 MB / 1.03 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/1.956, allocations: 76.33 kB / 1.03 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/1.958, allocations: 0.9048 MB / 1.031 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/1.958, allocations: 45.7 kB / 1.031 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/1.959, allocations: 0.7314 MB / 1.032 GB, free: 380 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008224/1.96, allocations: 382.6 kB / 1.032 GB, free: 15.99 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/1.96, allocations: 35.88 kB / 1.032 GB, free: 15.96 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0004416/1.961, allocations: 369.9 kB / 1.033 GB, free: 15.59 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/1.963, allocations: 0.6051 MB / 1.033 GB, free: 14.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/1.965, allocations: 1.098 MB / 1.034 GB, free: 13.67 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/1.967, allocations: 0.7603 MB / 1.035 GB, free: 12.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/1.967, allocations: 4 kB / 1.035 GB, free: 12.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.00601/1.973, allocations: 2.088 MB / 1.037 GB, free: 10.79 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/1.973, allocations: 12 kB / 1.037 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.385e-05/1.973, allocations: 19.94 kB / 1.037 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/1.974, allocations: 262.7 kB / 1.037 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/1.976, allocations: 375.4 kB / 1.038 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/1.991, allocations: 10.83 MB / 1.048 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/1.993, allocations: 123.8 kB / 1.048 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/1.994, allocations: 68 kB / 1.049 GB, free: 14.02 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001243/1.995, allocations: 417.4 kB / 1.049 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004232/1.995, allocations: 130.5 kB / 1.049 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/2, allocations: 1.669 MB / 1.051 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.051e-05/2, allocations: 12 kB / 1.051 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/2, allocations: 7.984 kB / 1.051 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/2, allocations: 7.984 kB / 1.051 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009864/2.01, allocations: 3.283 MB / 1.054 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/2.01, allocations: 4 kB / 1.054 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/2.012, allocations: 223.6 kB / 1.054 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/2.013, allocations: 239.4 kB / 1.054 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/2.013, allocations: 31.89 kB / 1.054 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/2.026, allocations: 10.81 MB / 1.065 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/2.026, allocations: 8 kB / 1.065 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005467/2.032, allocations: 2.066 MB / 1.067 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/2.033, allocations: 331.2 kB / 1.067 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/2.034, allocations: 27.98 kB / 1.067 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/2.035, allocations: 87.88 kB / 1.067 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/2.035, allocations: 100.7 kB / 1.067 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/2.035, allocations: 32 kB / 1.068 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001372/2.037, allocations: 0.6099 MB / 1.068 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/2.037, allocations: 3.938 kB / 1.068 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002918/2.039, allocations: 400 kB / 1.068 GB, free: 8.035 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007394/2.047, allocations: 4.143 MB / 1.073 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006404/2.053, allocations: 2.477 MB / 1.075 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/2.053, allocations: 0.875 kB / 1.075 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003477/2.057, allocations: 1.629 MB / 1.077 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/2.06, allocations: 316.8 kB / 1.077 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03409/2.094, allocations: 19.05 MB / 1.095 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/2.096, allocations: 1.36 MB / 1.097 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002068/2.098, allocations: 359.3 kB / 1.097 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/2.099, allocations: 0.5226 MB / 1.098 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of SimCode: time 2.174e-06/2.099, allocations: 0 / 1.098 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/2.228, allocations: 26.72 MB / 1.124 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005582/2.229, allocations: 221.6 kB / 1.124 GB, free: 14.49 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.455/7.684, allocations: 4 kB / 1.124 GB, free: 14.48 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat