Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.001131/0.001131, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001279/0.001279, allocations: 172.7 kB / 15.95 MB, free: 192 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.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.638/2.638, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003544, allocations: 12 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7308/0.7312, allocations: 146.8 MB / 0.9812 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03784/0.7691, allocations: 33.91 MB / 1.014 GB, free: 4.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02203/0.7912, allocations: 12.83 MB / 1.027 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.7946, allocations: 95.62 kB / 1.027 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.7966, allocations: 0.5894 MB / 1.027 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003359/0.8, allocations: 1.093 MB / 1.029 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006806/0.8068, allocations: 1.514 MB / 1.03 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01273/0.8195, allocations: 7.273 MB / 1.037 GB, free: 12.8 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02612/0.8457, allocations: 10.05 MB / 1.047 GB, free: 2.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005238/0.851, allocations: 1.872 MB / 1.049 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006485/0.8575, allocations: 2.644 MB / 1.051 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.8591, allocations: 252 kB / 1.052 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.8614, allocations: 0.5464 MB / 1.052 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.00322/0.8646, allocations: 1.988 MB / 1.054 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.8667, allocations: 0.8161 MB / 1.055 GB, free: 10.53 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.009786/0.8765, allocations: 7.65 MB / 1.062 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.8765, allocations: 0 / 1.062 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of FrontEnd: time 5.119e-06/0.8765, allocations: 4 kB / 1.062 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0003388/0.8769, allocations: 0 / 1.062 GB, free: 2.855 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.009431/0.8863, allocations: 3.44 MB / 1.066 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.8864, allocations: 8.031 kB / 1.066 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002537/0.889, allocations: 0.6364 MB / 1.066 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/0.8939, allocations: 0.9434 MB / 1.067 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/0.8989, allocations: 2.151 MB / 1.069 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003729/0.8993, allocations: 324.6 kB / 1.07 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/0.9008, allocations: 435.9 kB / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.9177, allocations: 7.33 MB / 1.077 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001982/0.9179, allocations: 7.938 kB / 1.077 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001485/0.9194, allocations: 184 kB / 1.077 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003714/0.9198, allocations: 290.9 kB / 1.078 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.9321, allocations: 5.928 MB / 1.083 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05753/0.9896, allocations: 32.63 MB / 1.115 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005417/0.9951, allocations: 2.111 MB / 1.117 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.9977, allocations: 1.224 MB / 1.119 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.998, allocations: 114.1 kB / 1.119 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.9981, allocations: 47.5 kB / 1.119 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=98): time 3.828e-06/0.9981, allocations: 0 / 1.119 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101): time 0.01283/1.011, allocations: 5.227 MB / 1.124 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/1.011, allocations: 137.5 kB / 1.124 GB, free: 352 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/1.014, allocations: 1.449 MB / 1.125 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002265/1.015, allocations: 41.7 kB / 1.125 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001863/1.017, allocations: 1.859 MB / 1.127 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006707/1.017, allocations: 382.8 kB / 1.128 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/1.017, allocations: 40 kB / 1.128 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002934/1.018, allocations: 398 kB / 1.128 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002678/1.02, allocations: 1.097 MB / 1.129 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/1.024, allocations: 2.176 MB / 1.131 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/1.028, allocations: 1.525 MB / 1.133 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-05/1.028, allocations: 12 kB / 1.133 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.008195/1.036, allocations: 3.296 MB / 1.136 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.001048/1.037, allocations: 1.078 MB / 1.137 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.9e-05/1.037, allocations: 32 kB / 1.137 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.627e-05/1.037, allocations: 59.95 kB / 1.137 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/1.041, allocations: 0.6238 MB / 1.138 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.867e-05/1.041, allocations: 71.7 kB / 1.138 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/1.044, allocations: 310.9 kB / 1.138 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000302/1.044, allocations: 116 kB / 1.138 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.044, allocations: 4 kB / 1.138 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006076/1.05, allocations: 2.738 MB / 1.141 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.968e-05/1.05, allocations: 36.2 kB / 1.141 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.42e-05/1.05, allocations: 56 kB / 1.141 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/1.053, allocations: 0.5498 MB / 1.141 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.53e-05/1.053, allocations: 71.72 kB / 1.142 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.056, allocations: 219.2 kB / 1.142 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003241/1.056, allocations: 112 kB / 1.142 GB, free: 12.96 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.003933/1.06, allocations: 1.71 MB / 1.144 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005936/1.061, allocations: 166 kB / 1.144 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/1.066, allocations: 2.227 MB / 1.146 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.066, allocations: 8 kB / 1.146 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/1.066, allocations: 4 kB / 1.146 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/1.066, allocations: 11.92 kB / 1.146 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/1.084, allocations: 10.97 MB / 1.157 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/1.084, allocations: 11.98 kB / 1.157 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.085, allocations: 391.4 kB / 1.157 GB, free: 13.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.132e-05/1.085, allocations: 20 kB / 1.157 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/1.085, allocations: 28 kB / 1.157 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.126e-05/1.085, allocations: 23.92 kB / 1.157 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-05/1.085, allocations: 19.94 kB / 1.157 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/1.089, allocations: 2.755 MB / 1.16 GB, free: 10.18 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009074/1.09, allocations: 466.8 kB / 1.16 GB, free: 9.707 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002138/1.09, allocations: 35.98 kB / 1.16 GB, free: 9.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/1.091, allocations: 163.7 kB / 1.16 GB, free: 9.512 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.091, allocations: 100.2 kB / 1.16 GB, free: 9.414 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/1.091, allocations: 40 kB / 1.161 GB, free: 9.375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001567/1.093, allocations: 0.9586 MB / 1.161 GB, free: 8.418 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.943e-06/1.093, allocations: 0 / 1.161 GB, free: 8.418 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004423/1.097, allocations: 1.133 MB / 1.163 GB, free: 7.285 MB / 0.92 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 (104): * Single equations (assignments): 104 * 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.003961/1.101, allocations: 3.348 MB / 1.166 GB, free: 3.766 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006304/1.108, allocations: 3.965 MB / 1.17 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/1.108, allocations: 4 kB / 1.17 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/1.109, allocations: 1.056 MB / 1.171 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/1.112, allocations: 392.7 kB / 1.171 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/1.139, allocations: 16.76 MB / 1.187 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00469/1.144, allocations: 2.872 MB / 1.19 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003187/1.147, allocations: 1.2 MB / 1.191 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/1.149, allocations: 1.288 MB / 1.193 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of SimCode: time 1.052e-06/1.149, allocations: 0 / 1.193 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/1.225, allocations: 45.93 MB / 1.238 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/1.225, allocations: 204.3 kB / 1.238 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/3.854, allocations: 0 / 1.238 GB, free: 9.527 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat does not exist to compare? outputFormat=mat