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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001257/0.001257, allocations: 100.1 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.00143/0.00143, allocations: 177.3 kB / 15.95 MB, free: 216 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.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.44/2.44, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 12 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.8169, allocations: 142.3 MB / 0.9536 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01149/0.8284, allocations: 9.622 MB / 0.963 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.8412, allocations: 5.363 MB / 0.9682 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.8437, allocations: 42.06 kB / 0.9683 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.8452, allocations: 225.7 kB / 0.9685 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004961/0.8502, allocations: 0.8403 MB / 0.9693 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003002/0.8532, allocations: 0.6028 MB / 0.9699 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004046/0.8573, allocations: 1.258 MB / 0.9711 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005048/0.8624, allocations: 2.157 MB / 0.9732 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.8641, allocations: 0.6208 MB / 0.9738 GB, free: 8.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001837/0.866, allocations: 0.652 MB / 0.9745 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0004272/0.8664, allocations: 59.19 kB / 0.9745 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/0.8687, allocations: 0.5108 MB / 0.975 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009056/0.8696, allocations: 414.5 kB / 0.9754 GB, free: 8.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009185/0.8706, allocations: 302.2 kB / 0.9757 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003502/0.8741, allocations: 1.725 MB / 0.9774 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.8741, allocations: 3.938 kB / 0.9774 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.835e-06/0.8741, allocations: 0 / 0.9774 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001159/0.8742, allocations: 0 / 0.9774 GB, free: 6.699 MB / 0.7325 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.00466/0.8789, allocations: 1.604 MB / 0.979 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.879, allocations: 9.469 kB / 0.979 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005378/0.8795, allocations: 208.5 kB / 0.9792 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004729/0.8843, allocations: 0.677 MB / 0.9798 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.8868, allocations: 0.8798 MB / 0.9807 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/0.8869, allocations: 94.61 kB / 0.9808 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.8872, allocations: 128 kB / 0.9809 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.8906, allocations: 2.183 MB / 0.983 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/0.8907, allocations: 15.88 kB / 0.9831 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.8908, allocations: 63.92 kB / 0.9831 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000225/0.8911, allocations: 162.3 kB / 0.9833 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/0.8941, allocations: 1.859 MB / 0.9851 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.9079, allocations: 12.48 MB / 0.9973 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004381/0.9124, allocations: 1.961 MB / 0.9992 GB, free: 208 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.9126, allocations: 98.05 kB / 0.9993 GB, free: 92 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.9127, allocations: 43.56 kB / 0.9993 GB, free: 40 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=103): time 3.136e-06/0.9127, allocations: 0 / 0.9993 GB, free: 40 kB / 0.7481 GB Notification: Performance of matching and sorting (n=110): time 0.006489/0.9192, allocations: 3.702 MB / 1.003 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.9192, allocations: 68.36 kB / 1.003 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.9203, allocations: 0.9126 MB / 1.004 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-05/0.9204, allocations: 37.7 kB / 1.004 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.9209, allocations: 0.7275 MB / 1.005 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003131/0.9212, allocations: 390.4 kB / 1.005 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.9213, allocations: 32 kB / 1.005 GB, free: 9.965 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9215, allocations: 365.9 kB / 1.005 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009027/0.9224, allocations: 0.6012 MB / 1.006 GB, free: 9 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.9236, allocations: 1.105 MB / 1.007 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.9247, allocations: 0.7641 MB / 1.008 GB, free: 6.914 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.515e-06/0.9247, allocations: 4 kB / 1.008 GB, free: 6.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003286/0.928, allocations: 2.085 MB / 1.01 GB, free: 4.793 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.928, allocations: 15.98 kB / 1.01 GB, free: 4.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.928, allocations: 12 kB / 1.01 GB, free: 4.766 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000842/0.9289, allocations: 266.7 kB / 1.01 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.9302, allocations: 375.4 kB / 1.01 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008846/0.939, allocations: 10.83 MB / 1.021 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.9406, allocations: 135.8 kB / 1.021 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.9408, allocations: 67.98 kB / 1.021 GB, free: 8.016 MB / 0.7794 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.0008334/0.9416, allocations: 406.1 kB / 1.022 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.9418, allocations: 126.5 kB / 1.022 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.9446, allocations: 1.688 MB / 1.023 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.9446, allocations: 12 kB / 1.023 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9446, allocations: 0 / 1.023 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.9447, allocations: 3.984 kB / 1.023 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005503/0.9502, allocations: 3.28 MB / 1.027 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.9502, allocations: 4 kB / 1.027 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.951, allocations: 223.6 kB / 1.027 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006949/0.9517, allocations: 243 kB / 1.027 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.9518, allocations: 31.98 kB / 1.027 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009271/0.9611, allocations: 10.8 MB / 1.038 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.9611, allocations: 12 kB / 1.038 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.9644, allocations: 2.066 MB / 1.04 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009303/0.9653, allocations: 327.3 kB / 1.04 GB, free: 3.301 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.9655, allocations: 24 kB / 1.04 GB, free: 3.277 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007068/0.9662, allocations: 91.88 kB / 1.04 GB, free: 3.188 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.9664, allocations: 96.72 kB / 1.04 GB, free: 3.094 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-05/0.9665, allocations: 43.98 kB / 1.04 GB, free: 3.051 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0008054/0.9673, allocations: 0.606 MB / 1.041 GB, free: 2.438 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9673, allocations: 0 / 1.041 GB, free: 2.438 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00147/0.9688, allocations: 392 kB / 1.041 GB, free: 2.055 MB / 0.795 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.00366/0.9725, allocations: 4.154 MB / 1.045 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003573/0.976, allocations: 2.488 MB / 1.048 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.9761, allocations: 0 / 1.048 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.9782, allocations: 1.626 MB / 1.049 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.9799, allocations: 315.7 kB / 1.05 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.997, allocations: 19.05 MB / 1.068 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.9981, allocations: 1.356 MB / 1.07 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001094/0.9992, allocations: 363.3 kB / 1.07 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006347/0.9998, allocations: 0.5149 MB / 1.07 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of SimCode: time 1.072e-06/0.9998, allocations: 0 / 1.07 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04945/1.049, allocations: 26.72 MB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.05, allocations: 230.9 kB / 1.097 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.563, allocations: 4 kB / 1.097 GB, free: 8.484 MB / 0.8575 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat