Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.0009405/0.0009405, allocations: 99.86 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.0009262/0.0009261, 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.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.594/2.594, allocations: 390.3 MB / 0.6653 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004551, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7768, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01851/0.7953, allocations: 18.17 MB / 0.9713 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.8074, allocations: 7.097 MB / 0.9783 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001764/0.8092, allocations: 48.31 kB / 0.9783 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.8104, allocations: 398.3 kB / 0.9787 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002807/0.8133, allocations: 0.7684 MB / 0.9794 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.8172, allocations: 1.136 MB / 0.9806 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004009/0.8212, allocations: 2.007 MB / 0.9825 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009367/0.8306, allocations: 6.548 MB / 0.9889 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.8325, allocations: 1.044 MB / 0.9899 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/0.8348, allocations: 1.215 MB / 0.9911 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0007033/0.8356, allocations: 172 kB / 0.9913 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.8372, allocations: 411.6 kB / 0.9917 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.8386, allocations: 1.232 MB / 0.9929 GB, free: 7.781 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.8394, allocations: 0.555 MB / 0.9934 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005251/0.8447, allocations: 5.122 MB / 0.9984 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8447, allocations: 4 kB / 0.9984 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8447, allocations: 0 / 0.9984 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001572/0.8449, allocations: 0 / 0.9984 GB, free: 2.082 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005375/0.8502, allocations: 2.47 MB / 1.001 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.8503, allocations: 12.03 kB / 1.001 GB, free: 15.54 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007239/0.851, allocations: 441.8 kB / 1.001 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/0.8542, allocations: 0.7225 MB / 1.002 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.8577, allocations: 1.515 MB / 1.003 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.8579, allocations: 217.8 kB / 1.004 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007369/0.8586, allocations: 288 kB / 1.004 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.8705, allocations: 5.007 MB / 1.009 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.992e-05/0.8707, allocations: 15.8 kB / 1.009 GB, free: 7.105 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003679/0.871, allocations: 120 kB / 1.009 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002847/0.8713, allocations: 216.6 kB / 1.009 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00893/0.8803, allocations: 4.165 MB / 1.013 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03286/0.9132, allocations: 23.01 MB / 1.036 GB, free: 9.441 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.9165, allocations: 1.719 MB / 1.037 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.9167, allocations: 101.7 kB / 1.037 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/0.9168, allocations: 43.22 kB / 1.038 GB, free: 7.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=84): time 3.046e-06/0.9168, allocations: 0 / 1.038 GB, free: 7.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=87): time 0.007951/0.9248, allocations: 3.997 MB / 1.041 GB, free: 3.488 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.9249, allocations: 145.2 kB / 1.042 GB, free: 3.316 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.9264, allocations: 0.837 MB / 1.042 GB, free: 2.469 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/0.9266, allocations: 41.7 kB / 1.042 GB, free: 2.422 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009847/0.9276, allocations: 1.169 MB / 1.044 GB, free: 1.234 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004567/0.9281, allocations: 307.6 kB / 1.044 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.9282, allocations: 24 kB / 1.044 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000239/0.9284, allocations: 406.7 kB / 1.044 GB, free: 0.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.9298, allocations: 0.7911 MB / 1.045 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.9315, allocations: 1.287 MB / 1.046 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.9331, allocations: 0.9945 MB / 1.047 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.9331, allocations: 4 kB / 1.047 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003704/0.9368, allocations: 2.172 MB / 1.049 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.002969/0.9398, allocations: 5.495 MB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.065e-05/0.9399, allocations: 16 kB / 1.055 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.592e-05/0.9399, allocations: 24 kB / 1.055 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/0.9416, allocations: 407.3 kB / 1.055 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.307e-05/0.9417, allocations: 27.92 kB / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.9431, allocations: 199.3 kB / 1.055 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.9433, allocations: 67.91 kB / 1.055 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.9434, allocations: 4 kB / 1.055 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003023/0.9464, allocations: 1.761 MB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.9464, allocations: 20.25 kB / 1.057 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.9465, allocations: 20 kB / 1.057 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.9478, allocations: 359.4 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.231e-05/0.9479, allocations: 27.88 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.949, allocations: 155.3 kB / 1.058 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.9492, allocations: 59.98 kB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002222/0.9514, allocations: 1.18 MB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.9517, allocations: 102.8 kB / 1.059 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/0.955, allocations: 1.843 MB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.955, allocations: 15.98 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.955, allocations: 0 / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.955, allocations: 7.938 kB / 1.061 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.9707, allocations: 9.58 MB / 1.07 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.555e-05/0.9708, allocations: 16.16 kB / 1.07 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.9721, allocations: 323.4 kB / 1.071 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.947e-05/0.9722, allocations: 16 kB / 1.071 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.9723, allocations: 27.94 kB / 1.071 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.061e-05/0.9724, allocations: 23.89 kB / 1.071 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.296e-05/0.9724, allocations: 15.94 kB / 1.071 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/0.9762, allocations: 2.987 MB / 1.074 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009483/0.9771, allocations: 387.5 kB / 1.074 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.9774, allocations: 28 kB / 1.074 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.9785, allocations: 139.8 kB / 1.074 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.9787, allocations: 91.7 kB / 1.074 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/0.9788, allocations: 32 kB / 1.074 GB, free: 432 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009584/0.9797, allocations: 0.581 MB / 1.075 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9797, allocations: 0 / 1.075 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003049/0.9828, allocations: 0.7461 MB / 1.075 GB, free: 15.1 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005325/0.9881, allocations: 6.918 MB / 1.082 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004419/0.9926, allocations: 2.834 MB / 1.085 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.9926, allocations: 0.5625 kB / 1.085 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.994, allocations: 0.9158 MB / 1.086 GB, free: 4.082 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.9959, allocations: 260.3 kB / 1.086 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02551/1.021, allocations: 20.8 MB / 1.106 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002461/1.024, allocations: 2.175 MB / 1.109 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00192/1.026, allocations: 0.7383 MB / 1.109 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/1.027, allocations: 0.8273 MB / 1.11 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of SimCode: time 9.22e-07/1.027, allocations: 7.938 kB / 1.11 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05133/1.078, allocations: 31.08 MB / 1.14 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/1.079, allocations: 204.7 kB / 1.141 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.322/3.401, allocations: 4.062 kB / 1.141 GB, free: 11.65 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat does not exist to compare? outputFormat=mat