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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.162/2.162, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001316, allocations: 176.9 kB / 491.2 MB, free: 1.617 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.5 MB / 0.7868 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009683, allocations: 87.77 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.314e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2764, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.809/5.085, allocations: 1.939 GB / 3.151 GB, free: 390.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/5.086, allocations: 84.55 kB / 3.151 GB, free: 390 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6116/5.697, allocations: 322.6 MB / 3.466 GB, free: 62.19 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.984e-06/5.697, allocations: 0 / 3.466 GB, free: 62.19 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002595/5.698, allocations: 51.98 kB / 3.466 GB, free: 62.14 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005255/5.703, allocations: 2.122 MB / 3.468 GB, free: 59.96 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/5.703, allocations: 8.031 kB / 3.468 GB, free: 59.95 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004052/5.707, allocations: 0.5551 MB / 3.469 GB, free: 59.39 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00484/5.712, allocations: 2.169 MB / 3.471 GB, free: 57.17 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.723e-05/5.712, allocations: 52 kB / 3.471 GB, free: 57.12 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005388/5.713, allocations: 99.95 kB / 3.471 GB, free: 57.02 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003686/5.716, allocations: 1.818 MB / 3.473 GB, free: 55.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/5.719, allocations: 1.554 MB / 3.474 GB, free: 53.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/5.719, allocations: 7.938 kB / 3.474 GB, free: 53.59 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/5.719, allocations: 0 / 3.474 GB, free: 53.59 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/5.719, allocations: 40 kB / 3.474 GB, free: 53.55 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00852/5.728, allocations: 5.884 MB / 3.48 GB, free: 47.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/5.729, allocations: 1.804 MB / 3.482 GB, free: 45.59 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006792/5.73, allocations: 0.6361 MB / 3.482 GB, free: 44.96 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004893/5.731, allocations: 425.7 kB / 3.483 GB, free: 44.47 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009981/5.732, allocations: 0.8423 MB / 3.484 GB, free: 43.61 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 2.946e-06/5.732, allocations: 0 / 3.484 GB, free: 43.61 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003206/5.735, allocations: 1.545 MB / 3.485 GB, free: 42.04 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/5.735, allocations: 248.6 kB / 3.485 GB, free: 41.73 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/5.738, allocations: 2.257 MB / 3.488 GB, free: 39.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/5.738, allocations: 29.7 kB / 3.488 GB, free: 39.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005712/5.738, allocations: 0.8816 MB / 3.488 GB, free: 38.54 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/5.739, allocations: 441.3 kB / 3.489 GB, free: 38.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/5.739, allocations: 4 kB / 3.489 GB, free: 38.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.044e-05/5.739, allocations: 345.9 kB / 3.489 GB, free: 37.75 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/5.739, allocations: 478.4 kB / 3.49 GB, free: 37.29 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/5.74, allocations: 0.667 MB / 3.49 GB, free: 36.55 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007708/5.741, allocations: 0.554 MB / 3.491 GB, free: 36 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/5.741, allocations: 3.938 kB / 3.491 GB, free: 36 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002676/5.744, allocations: 1.498 MB / 3.492 GB, free: 34.47 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/5.744, allocations: 4 kB / 3.492 GB, free: 34.47 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/5.744, allocations: 0 / 3.492 GB, free: 34.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009476/5.745, allocations: 212.2 kB / 3.493 GB, free: 34.25 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/5.746, allocations: 311.6 kB / 3.493 GB, free: 33.94 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003926/5.75, allocations: 6.526 MB / 3.499 GB, free: 26.83 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/5.751, allocations: 131.2 kB / 3.499 GB, free: 26.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/5.752, allocations: 71.91 kB / 3.499 GB, free: 26.63 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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.0003431/5.752, allocations: 123.2 kB / 3.5 GB, free: 26.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002871/5.755, allocations: 1.506 MB / 3.501 GB, free: 24.98 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004532/5.755, allocations: 173.8 kB / 3.501 GB, free: 24.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/5.759, allocations: 1.917 MB / 3.503 GB, free: 22.86 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/5.759, allocations: 16 kB / 3.503 GB, free: 22.84 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/5.759, allocations: 0 / 3.503 GB, free: 22.84 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/5.759, allocations: 7.938 kB / 3.503 GB, free: 22.83 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005952/5.765, allocations: 3.819 MB / 3.507 GB, free: 18.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/5.765, allocations: 0 / 3.507 GB, free: 18.95 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/5.766, allocations: 331.6 kB / 3.507 GB, free: 18.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008277/5.767, allocations: 212 kB / 3.507 GB, free: 18.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/5.767, allocations: 27.97 kB / 3.507 GB, free: 18.38 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/5.771, allocations: 6.55 MB / 3.514 GB, free: 11.25 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.771, allocations: 3.938 kB / 3.514 GB, free: 11.24 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/5.774, allocations: 1.697 MB / 3.515 GB, free: 9.512 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/5.775, allocations: 0.6622 MB / 3.516 GB, free: 8.828 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/5.775, allocations: 4 kB / 3.516 GB, free: 8.824 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/5.777, allocations: 115.7 kB / 3.516 GB, free: 8.711 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/5.777, allocations: 105.2 kB / 3.516 GB, free: 8.605 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/5.777, allocations: 87.94 kB / 3.516 GB, free: 8.52 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001887/5.779, allocations: 1.761 MB / 3.518 GB, free: 6.762 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.779, allocations: 4 kB / 3.518 GB, free: 6.758 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002305/5.781, allocations: 0.7636 MB / 3.519 GB, free: 5.992 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00544/5.787, allocations: 3.851 MB / 3.523 GB, free: 2.199 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00224/5.789, allocations: 1.717 MB / 3.524 GB, free: 444 kB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/5.789, allocations: 4.562 kB / 3.524 GB, free: 440 kB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.6576/6.446, allocations: 1.218 MB / 3.525 GB, free: 301 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002917/6.449, allocations: 422.8 kB / 3.526 GB, free: 301 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/6.46, allocations: 3.339 MB / 3.529 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/6.462, allocations: 1.549 MB / 3.531 GB, free: 299.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003042/6.465, allocations: 0.6548 MB / 3.531 GB, free: 299.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/6.466, allocations: 0.9185 MB / 3.532 GB, free: 299.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/6.466, allocations: 2.812 kB / 3.532 GB, free: 299.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/6.582, allocations: 54.64 MB / 3.586 GB, free: 298.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/6.582, allocations: 192.7 kB / 3.586 GB, free: 297.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.129/10.71, allocations: 0 / 3.586 GB, free: 297.9 MB / 1.151 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) 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