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.001094/0.001095, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001437/0.001438, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.585/2.585, allocations: 409.4 MB / 0.684 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 12 kB / 0.8378 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7747/0.775, allocations: 146.8 MB / 0.9811 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01109/0.7862, allocations: 9.957 MB / 0.9909 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008372/0.7946, allocations: 5.453 MB / 0.9962 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.7958, allocations: 39.69 kB / 0.9962 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000865/0.7967, allocations: 245.9 kB / 0.9965 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.7996, allocations: 0.8785 MB / 0.9973 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.8016, allocations: 0.5901 MB / 0.9979 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003452/0.8051, allocations: 2.352 MB / 1 GB, free: 2.785 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004661/0.8098, allocations: 2.168 MB / 1.002 GB, free: 0.5859 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.8116, allocations: 0.6962 MB / 1.003 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.8135, allocations: 0.8288 MB / 1.004 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00041/0.8139, allocations: 60 kB / 1.004 GB, free: 15 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.8161, allocations: 0.6046 MB / 1.004 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000874/0.817, allocations: 458.6 kB / 1.005 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007959/0.8178, allocations: 292.9 kB / 1.005 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.8209, allocations: 1.806 MB / 1.007 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8209, allocations: 0 / 1.007 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8209, allocations: 0 / 1.007 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.763e-05/0.821, allocations: 0 / 1.007 GB, free: 11.84 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.002989/0.824, allocations: 1.62 MB / 1.009 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.824, allocations: 12.03 kB / 1.009 GB, free: 10.15 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003677/0.8244, allocations: 211.2 kB / 1.009 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/0.8288, allocations: 0.669 MB / 1.009 GB, free: 9.262 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.8306, allocations: 0.8828 MB / 1.01 GB, free: 8.332 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.028e-05/0.8307, allocations: 94.52 kB / 1.01 GB, free: 8.238 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002859/0.831, allocations: 131.8 kB / 1.01 GB, free: 8.109 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003487/0.8345, allocations: 2.194 MB / 1.013 GB, free: 5.691 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.193e-05/0.8346, allocations: 15.88 kB / 1.013 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.8347, allocations: 59.97 kB / 1.013 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/0.835, allocations: 166.3 kB / 1.013 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/0.8381, allocations: 1.855 MB / 1.015 GB, free: 3.59 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.85, allocations: 12.48 MB / 1.027 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.8539, allocations: 1.962 MB / 1.029 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000797/0.8548, allocations: 0.6049 MB / 1.029 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.8549, allocations: 102.1 kB / 1.029 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.855, allocations: 43.56 kB / 1.029 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=103): time 3.226e-06/0.855, allocations: 3.938 kB / 1.029 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=110): time 0.005879/0.8609, allocations: 3.694 MB / 1.033 GB, free: 15.55 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.8609, allocations: 64.41 kB / 1.033 GB, free: 15.47 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.8621, allocations: 0.9086 MB / 1.034 GB, free: 14.55 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.8621, allocations: 45.7 kB / 1.034 GB, free: 14.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.8626, allocations: 0.7391 MB / 1.035 GB, free: 13.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003291/0.863, allocations: 378.5 kB / 1.035 GB, free: 13.38 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.8631, allocations: 36 kB / 1.035 GB, free: 13.34 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.8632, allocations: 361.9 kB / 1.036 GB, free: 12.98 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009435/0.8642, allocations: 0.6128 MB / 1.036 GB, free: 12.37 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.8656, allocations: 1.098 MB / 1.037 GB, free: 11.05 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.8669, allocations: 0.7719 MB / 1.038 GB, free: 10.29 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.8669, allocations: 4 kB / 1.038 GB, free: 10.28 MB / 0.795 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003945/0.8708, allocations: 2.084 MB / 1.04 GB, free: 8.16 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.8709, allocations: 12.94 kB / 1.04 GB, free: 8.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.8709, allocations: 16 kB / 1.04 GB, free: 8.133 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008021/0.8717, allocations: 263.1 kB / 1.04 GB, free: 7.852 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.873, allocations: 367.4 kB / 1.041 GB, free: 7.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009261/0.8823, allocations: 10.77 MB / 1.051 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.8836, allocations: 127.8 kB / 1.051 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.8837, allocations: 71.98 kB / 1.051 GB, free: 11.46 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.0007333/0.8844, allocations: 401.2 kB / 1.052 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.8846, allocations: 138.5 kB / 1.052 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.8874, allocations: 1.665 MB / 1.053 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.8875, allocations: 15.98 kB / 1.053 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.8875, allocations: 8 kB / 1.054 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.8875, allocations: 3.984 kB / 1.054 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/0.8925, allocations: 3.276 MB / 1.057 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.8925, allocations: 8 kB / 1.057 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.8933, allocations: 223.7 kB / 1.057 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006477/0.8939, allocations: 246.6 kB / 1.057 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.23e-05/0.894, allocations: 23.98 kB / 1.057 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/0.9018, allocations: 10.74 MB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.9018, allocations: 7.938 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.9045, allocations: 1.792 MB / 1.069 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.905, allocations: 331.2 kB / 1.07 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.9051, allocations: 27.95 kB / 1.07 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006219/0.9058, allocations: 91.88 kB / 1.07 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.9059, allocations: 92.78 kB / 1.07 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.906, allocations: 39.98 kB / 1.07 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007715/0.9068, allocations: 0.6099 MB / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9068, allocations: 0 / 1.071 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001442/0.9082, allocations: 388 kB / 1.071 GB, free: 5.961 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.003229/0.9115, allocations: 2.382 MB / 1.073 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003827/0.9153, allocations: 2.481 MB / 1.076 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.9153, allocations: 4.25 kB / 1.076 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.9173, allocations: 1.621 MB / 1.077 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.9188, allocations: 328.3 kB / 1.078 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/0.9308, allocations: 8.535 MB / 1.086 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009151/0.9318, allocations: 1.327 MB / 1.087 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001078/0.9328, allocations: 363.3 kB / 1.088 GB, free: 3.961 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.9335, allocations: 0.5149 MB / 1.088 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of SimCode: time 9.32e-07/0.9335, allocations: 0 / 1.088 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.9807, allocations: 26.75 MB / 1.114 GB, free: 9.105 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/0.981, allocations: 227.3 kB / 1.114 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.461/3.442, allocations: 0 / 1.114 GB, free: 8.871 MB / 0.8731 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