Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",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.001263/0.001263, allocations: 97.97 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.001514/0.001514, 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.318/1.318, 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.398/2.398, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003233, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7313, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1707/0.902, allocations: 140.3 MB / 1.091 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.9216, allocations: 14.19 MB / 1.104 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.9233, allocations: 23.81 kB / 1.104 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.9248, allocations: 342.1 kB / 1.105 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00461/0.9294, allocations: 1.336 MB / 1.106 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.9327, allocations: 1.12 MB / 1.107 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003004/0.9358, allocations: 1.592 MB / 1.109 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.9381, allocations: 1.504 MB / 1.11 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00186/0.94, allocations: 0.9303 MB / 1.111 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009593/0.941, allocations: 0.723 MB / 1.112 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.9412, allocations: 52 kB / 1.112 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.9436, allocations: 0.9908 MB / 1.113 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006155/0.9442, allocations: 0.5645 MB / 1.113 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.9448, allocations: 416.4 kB / 1.114 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003714/0.9486, allocations: 2.642 MB / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9486, allocations: 0 / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9486, allocations: 0 / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.396e-05/0.9487, allocations: 0 / 1.116 GB, free: 9.09 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.004776/0.9535, allocations: 2.436 MB / 1.119 GB, free: 6.59 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.9535, allocations: 8.031 kB / 1.119 GB, free: 6.582 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004068/0.9539, allocations: 252.9 kB / 1.119 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003672/0.9576, allocations: 0.5745 MB / 1.12 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004227/0.9619, allocations: 3.321 MB / 1.123 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.984e-05/0.962, allocations: 131.4 kB / 1.123 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.9622, allocations: 172 kB / 1.123 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003317/0.9655, allocations: 1.937 MB / 1.125 GB, free: 92 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.9656, allocations: 4 kB / 1.125 GB, free: 88 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.9658, allocations: 72 kB / 1.125 GB, free: 16 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.9658, allocations: 47.92 kB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003536/0.9694, allocations: 2.12 MB / 1.127 GB, free: 13.84 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/0.9795, allocations: 6.4 MB / 1.133 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.9828, allocations: 1.879 MB / 1.135 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.9831, allocations: 81.2 kB / 1.135 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.9848, allocations: 1.013 MB / 1.136 GB, free: 4.195 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=146): time 3.216e-06/0.9848, allocations: 4 kB / 1.136 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of matching and sorting (n=146): time 0.006707/0.9915, allocations: 3.007 MB / 1.139 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.9917, allocations: 201.2 kB / 1.139 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005647/0.9973, allocations: 4.054 MB / 1.143 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004697/0.9978, allocations: 65.7 kB / 1.144 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008371/0.9987, allocations: 0.8984 MB / 1.144 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005534/0.9993, allocations: 484.9 kB / 1.145 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.9993, allocations: 24 kB / 1.145 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9995, allocations: 353.9 kB / 1.145 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/1.001, allocations: 0.5843 MB / 1.146 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/1.002, allocations: 0.8008 MB / 1.147 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/1.003, allocations: 0.6701 MB / 1.147 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/1.003, allocations: 4 kB / 1.147 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003994/1.007, allocations: 1.791 MB / 1.149 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/1.007, allocations: 11.95 kB / 1.149 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.007, allocations: 0 / 1.149 GB, free: 6.984 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/1.008, allocations: 208.2 kB / 1.149 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/1.01, allocations: 339.5 kB / 1.149 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005764/1.016, allocations: 6.854 MB / 1.156 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.018, allocations: 197.9 kB / 1.156 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/1.018, allocations: 51.97 kB / 1.156 GB, free: 14.66 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001095/1.019, allocations: 481.4 kB / 1.157 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/1.019, allocations: 205.6 kB / 1.157 GB, free: 13.98 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/1.024, allocations: 2.153 MB / 1.159 GB, free: 11.8 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/1.024, allocations: 19.94 kB / 1.159 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.024, allocations: 7.953 kB / 1.159 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/1.024, allocations: 7.969 kB / 1.159 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007045/1.031, allocations: 3.957 MB / 1.163 GB, free: 7.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.031, allocations: 0 / 1.163 GB, free: 7.711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.032, allocations: 335.8 kB / 1.163 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009159/1.033, allocations: 212 kB / 1.164 GB, free: 7.16 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.369e-05/1.034, allocations: 43.97 kB / 1.164 GB, free: 7.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005327/1.039, allocations: 6.894 MB / 1.17 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.039, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004357/1.043, allocations: 2.218 MB / 1.173 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.045, allocations: 0.5253 MB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002843/1.045, allocations: 35.95 kB / 1.173 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/1.046, allocations: 156.7 kB / 1.173 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/1.047, allocations: 121.1 kB / 1.173 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.047, allocations: 75.94 kB / 1.173 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00318/1.05, allocations: 3.117 MB / 1.176 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.61e-07/1.05, allocations: 0 / 1.176 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001918/1.052, allocations: 0.6703 MB / 1.177 GB, free: 8.52 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005981/1.058, allocations: 3.94 MB / 1.181 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003348/1.061, allocations: 2.07 MB / 1.183 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/1.061, allocations: 4.797 kB / 1.183 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002048/1.063, allocations: 1.446 MB / 1.184 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.065, allocations: 485 kB / 1.185 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03066/1.096, allocations: 19.78 MB / 1.204 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/1.097, allocations: 1.58 MB / 1.206 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002226/1.1, allocations: 0.5209 MB / 1.206 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001156/1.101, allocations: 0.9014 MB / 1.207 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of SimCode: time 1.032e-06/1.101, allocations: 0 / 1.207 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6182/1.719, allocations: 48.47 MB / 1.254 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/1.719, allocations: 268.5 kB / 1.255 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/4.786, allocations: 0.5625 kB / 1.255 GB, free: 275.1 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat does not exist to compare? outputFormat=mat