Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_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.0009344/0.0009345, allocations: 91.3 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.001133/0.001133, 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.542/1.542, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.537/2.537, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 8 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7638/0.7642, allocations: 146.8 MB / 0.9812 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004143/0.7684, allocations: 3.74 MB / 0.9848 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.7713, allocations: 2.226 MB / 0.987 GB, free: 260 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.7715, allocations: 11.88 kB / 0.987 GB, free: 248 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.7718, allocations: 63.42 kB / 0.987 GB, free: 184 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006312/0.7724, allocations: 294.6 kB / 0.9873 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.7729, allocations: 227.4 kB / 0.9875 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.7736, allocations: 0.7295 MB / 0.9883 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.7743, allocations: 425.6 kB / 0.9887 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.7746, allocations: 223.1 kB / 0.9889 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.7749, allocations: 255 kB / 0.9891 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.775, allocations: 16 kB / 0.9891 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.7754, allocations: 207.7 kB / 0.9893 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.7755, allocations: 131.6 kB / 0.9895 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 9.933e-05/0.7756, allocations: 109.5 kB / 0.9896 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.7761, allocations: 0.5359 MB / 0.9901 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.7762, allocations: 4 kB / 0.9901 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7762, allocations: 0 / 0.9901 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.7762, allocations: 0 / 0.9901 GB, free: 13.03 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009467/0.7771, allocations: 0.7014 MB / 0.9908 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.7772, allocations: 12.03 kB / 0.9908 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.495e-05/0.7773, allocations: 74.52 kB / 0.9909 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.7785, allocations: 195.1 kB / 0.991 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.779, allocations: 391.4 kB / 0.9914 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.7791, allocations: 28.94 kB / 0.9914 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.7791, allocations: 43.88 kB / 0.9915 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008409/0.78, allocations: 0.6467 MB / 0.9921 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.78, allocations: 0 / 0.9921 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.78, allocations: 16 kB / 0.9921 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.878e-05/0.7801, allocations: 59.84 kB / 0.9922 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006721/0.7808, allocations: 496.9 kB / 0.9927 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.7838, allocations: 3.794 MB / 0.9964 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.7854, allocations: 0.6283 MB / 0.997 GB, free: 5.496 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.7856, allocations: 178.5 kB / 0.9972 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.7857, allocations: 3.938 kB / 0.9972 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.7857, allocations: 38.56 kB / 0.9972 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 2.204e-06/0.7857, allocations: 0 / 0.9972 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002383/0.7881, allocations: 1.281 MB / 0.9984 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.7882, allocations: 102.8 kB / 0.9985 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004588/0.7887, allocations: 398.1 kB / 0.9989 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.7887, allocations: 33.7 kB / 0.999 GB, free: 3.348 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.7889, allocations: 279.4 kB / 0.9992 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.789, allocations: 118.3 kB / 0.9993 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.7891, allocations: 12 kB / 0.9993 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.7893, allocations: 358.7 kB / 0.9997 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.7896, allocations: 177 kB / 0.9999 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.79, allocations: 371.2 kB / 1 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.7904, allocations: 227.8 kB / 1 GB, free: 1.73 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.7904, allocations: 4 kB / 1 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0011/0.7915, allocations: 0.6708 MB / 1.001 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.7915, allocations: 12.83 kB / 1.001 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.7915, allocations: 8 kB / 1.001 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003499/0.7919, allocations: 94.47 kB / 1.001 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.7923, allocations: 119.8 kB / 1.001 GB, free: 0.8008 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003079/0.7954, allocations: 4.028 MB / 1.005 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.7958, allocations: 31.92 kB / 1.005 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.7959, allocations: 27.98 kB / 1.005 GB, free: 12.32 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.7961, allocations: 193.6 kB / 1.005 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.7963, allocations: 55.48 kB / 1.006 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008647/0.7971, allocations: 0.507 MB / 1.006 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.7972, allocations: 4 kB / 1.006 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.7972, allocations: 0 / 1.006 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.7972, allocations: 0 / 1.006 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.7989, allocations: 1.291 MB / 1.007 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7989, allocations: 4.281 kB / 1.007 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.7991, allocations: 59.91 kB / 1.007 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.7994, allocations: 90.78 kB / 1.007 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.7994, allocations: 8 kB / 1.007 GB, free: 9.977 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/0.8023, allocations: 4.032 MB / 1.011 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.8023, allocations: 8.812 kB / 1.011 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008725/0.8032, allocations: 0.7777 MB / 1.012 GB, free: 4.703 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.8034, allocations: 156.4 kB / 1.012 GB, free: 4.531 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.8034, allocations: 16 kB / 1.012 GB, free: 4.516 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.8037, allocations: 19.97 kB / 1.012 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.8038, allocations: 31.92 kB / 1.012 GB, free: 4.465 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.8038, allocations: 12 kB / 1.012 GB, free: 4.453 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002766/0.8041, allocations: 283.1 kB / 1.013 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8041, allocations: 0 / 1.013 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006893/0.8048, allocations: 124 kB / 1.013 GB, free: 4.059 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.001062/0.8059, allocations: 1.324 MB / 1.014 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.807, allocations: 0.7987 MB / 1.015 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.807, allocations: 0 / 1.015 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000656/0.8077, allocations: 0.5553 MB / 1.015 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.8085, allocations: 122.4 kB / 1.016 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.8123, allocations: 2.793 MB / 1.018 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.8128, allocations: 0.8702 MB / 1.019 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003028/0.8131, allocations: 96.48 kB / 1.019 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.8133, allocations: 151.4 kB / 1.019 GB, free: 13 MB / 0.7794 GB Notification: Performance of SimCode: time 1.913e-06/0.8133, allocations: 0 / 1.019 GB, free: 13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.8357, allocations: 9.425 MB / 1.029 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.836, allocations: 218 kB / 1.029 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.83, allocations: 4 kB / 1.029 GB, free: 3.582 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat does not exist to compare? outputFormat=mat