Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_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.0007536/0.0007536, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009081/0.000908, allocations: 168.7 kB / 15.95 MB, free: 204 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.369/1.369, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.523/2.523, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 15.94 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7343/0.7347, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.191/0.9258, allocations: 151.8 MB / 1.129 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.9462, allocations: 15.96 MB / 1.145 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.9479, allocations: 31.75 kB / 1.145 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.9493, allocations: 381.3 kB / 1.145 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.9541, allocations: 1.332 MB / 1.147 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.9576, allocations: 1.108 MB / 1.148 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003758/0.9614, allocations: 2.568 MB / 1.15 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002444/0.9638, allocations: 1.511 MB / 1.152 GB, free: 7.09 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.9661, allocations: 0.9999 MB / 1.153 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.9673, allocations: 0.8516 MB / 1.153 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.9675, allocations: 48 kB / 1.154 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002713/0.9702, allocations: 1.018 MB / 1.155 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006076/0.9708, allocations: 0.5956 MB / 1.155 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.9713, allocations: 412.4 kB / 1.156 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.9747, allocations: 2.654 MB / 1.158 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9747, allocations: 0 / 1.158 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9747, allocations: 0 / 1.158 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.42e-05/0.9747, allocations: 0 / 1.158 GB, free: 0.4961 MB / 0.9044 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.004489/0.9792, allocations: 2.44 MB / 1.16 GB, free: 14 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.9793, allocations: 12.03 kB / 1.16 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003372/0.9796, allocations: 248.9 kB / 1.161 GB, free: 13.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.9831, allocations: 0.5745 MB / 1.161 GB, free: 13.15 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004435/0.9876, allocations: 3.333 MB / 1.165 GB, free: 9.77 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.9877, allocations: 127.4 kB / 1.165 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.988, allocations: 168 kB / 1.165 GB, free: 9.48 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.9915, allocations: 1.952 MB / 1.167 GB, free: 7.477 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.9915, allocations: 4 kB / 1.167 GB, free: 7.473 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.9917, allocations: 72 kB / 1.167 GB, free: 7.402 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.9917, allocations: 40 kB / 1.167 GB, free: 7.363 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.9953, allocations: 2.12 MB / 1.169 GB, free: 5.238 MB / 0.92 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.01022/1.006, allocations: 6.426 MB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/1.009, allocations: 2.133 MB / 1.177 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/1.01, allocations: 0.7725 MB / 1.178 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000588/1.011, allocations: 429.6 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001828/1.013, allocations: 1.021 MB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 4.107e-06/1.013, allocations: 0 / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.007157/1.02, allocations: 3.024 MB / 1.182 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.02, allocations: 197.2 kB / 1.183 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00578/1.026, allocations: 4.058 MB / 1.187 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003082/1.026, allocations: 53.7 kB / 1.187 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009683/1.027, allocations: 0.9139 MB / 1.187 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005955/1.028, allocations: 480.9 kB / 1.188 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/1.028, allocations: 32 kB / 1.188 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.028, allocations: 353.9 kB / 1.188 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/1.029, allocations: 0.5882 MB / 1.189 GB, free: 172 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.031, allocations: 0.8125 MB / 1.19 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/1.032, allocations: 0.6623 MB / 1.19 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.032, allocations: 0 / 1.19 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004147/1.036, allocations: 1.803 MB / 1.192 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/1.036, allocations: 9.25 kB / 1.192 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.036, allocations: 4.062 kB / 1.192 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/1.037, allocations: 212.1 kB / 1.192 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.039, allocations: 335.5 kB / 1.193 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006264/1.045, allocations: 6.82 MB / 1.199 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/1.047, allocations: 190.8 kB / 1.199 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/1.047, allocations: 47.97 kB / 1.2 GB, free: 4.516 MB / 0.9512 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.001291/1.049, allocations: 493.4 kB / 1.2 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006471/1.049, allocations: 197.5 kB / 1.2 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005013/1.054, allocations: 2.177 MB / 1.202 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/1.054, allocations: 16 kB / 1.202 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.054, allocations: 0 / 1.202 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/1.054, allocations: 7.969 kB / 1.202 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008094/1.062, allocations: 4.14 MB / 1.206 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.062, allocations: 0 / 1.206 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.064, allocations: 327.6 kB / 1.207 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008882/1.065, allocations: 212.1 kB / 1.207 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.065, allocations: 43.91 kB / 1.207 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006/1.071, allocations: 6.839 MB / 1.214 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.071, allocations: 4.062 kB / 1.214 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004633/1.076, allocations: 2.03 MB / 1.216 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.077, allocations: 0.5215 MB / 1.216 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004792/1.077, allocations: 31.98 kB / 1.216 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.079, allocations: 152.1 kB / 1.216 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/1.079, allocations: 121.1 kB / 1.216 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002118/1.08, allocations: 67.95 kB / 1.216 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004023/1.084, allocations: 3.117 MB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/1.084, allocations: 3.938 kB / 1.219 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002492/1.086, allocations: 0.6626 MB / 1.22 GB, free: 14.54 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.006757/1.093, allocations: 3.235 MB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003808/1.097, allocations: 2.082 MB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/1.097, allocations: 4.562 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/1.099, allocations: 1.426 MB / 1.227 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/1.102, allocations: 499.7 kB / 1.227 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/1.139, allocations: 19.47 MB / 1.246 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/1.141, allocations: 1.529 MB / 1.248 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002831/1.144, allocations: 0.5325 MB / 1.248 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/1.146, allocations: 0.9053 MB / 1.249 GB, free: 80 kB / 0.9981 GB Notification: Performance of SimCode: time 9.71e-07/1.146, allocations: 0 / 1.249 GB, free: 80 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6194/1.765, allocations: 48.47 MB / 1.296 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/1.766, allocations: 282.7 kB / 1.297 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.223/4.988, allocations: 0 / 1.297 GB, free: 227.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat does not exist to compare? outputFormat=mat