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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001356/0.001356, allocations: 192.8 kB / 487.4 MB, free: 5.027 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.623/1.623, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 99.72 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.086e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2863, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.459/5.745, allocations: 1.938 GB / 3.144 GB, free: 413.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/5.745, allocations: 87.95 kB / 3.144 GB, free: 413.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6478/6.393, allocations: 322.6 MB / 3.459 GB, free: 85.72 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.424e-06/6.393, allocations: 0 / 3.459 GB, free: 85.72 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002892/6.393, allocations: 48 kB / 3.459 GB, free: 85.67 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.005626/6.399, allocations: 2.13 MB / 3.461 GB, free: 83.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/6.399, allocations: 8.031 kB / 3.461 GB, free: 83.48 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004529/6.404, allocations: 0.5473 MB / 3.462 GB, free: 82.93 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004768/6.408, allocations: 2.173 MB / 3.464 GB, free: 80.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/6.409, allocations: 52 kB / 3.464 GB, free: 80.65 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004983/6.409, allocations: 96 kB / 3.464 GB, free: 80.56 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003283/6.412, allocations: 1.825 MB / 3.466 GB, free: 78.73 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/6.415, allocations: 1.547 MB / 3.467 GB, free: 77.13 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/6.415, allocations: 7.938 kB / 3.467 GB, free: 77.12 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/6.415, allocations: 4 kB / 3.467 GB, free: 77.12 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/6.415, allocations: 39.94 kB / 3.467 GB, free: 77.08 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.009219/6.424, allocations: 5.898 MB / 3.473 GB, free: 70.99 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/6.426, allocations: 1.792 MB / 3.475 GB, free: 69.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/6.427, allocations: 0.6293 MB / 3.475 GB, free: 68.49 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/6.428, allocations: 429.7 kB / 3.476 GB, free: 68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/6.429, allocations: 0.8346 MB / 3.477 GB, free: 67.14 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.417e-06/6.429, allocations: 0 / 3.477 GB, free: 67.14 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003433/6.432, allocations: 1.549 MB / 3.478 GB, free: 65.57 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/6.432, allocations: 244.6 kB / 3.478 GB, free: 65.27 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/6.435, allocations: 2.253 MB / 3.48 GB, free: 63.01 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/6.436, allocations: 33.7 kB / 3.48 GB, free: 62.97 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008513/6.437, allocations: 0.8816 MB / 3.481 GB, free: 62.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/6.437, allocations: 437.3 kB / 3.482 GB, free: 61.64 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/6.437, allocations: 4 kB / 3.482 GB, free: 61.64 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001168/6.437, allocations: 349.9 kB / 3.482 GB, free: 61.29 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000664/6.438, allocations: 470.5 kB / 3.483 GB, free: 60.83 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/6.439, allocations: 0.6747 MB / 3.483 GB, free: 60.09 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009377/6.44, allocations: 0.554 MB / 3.484 GB, free: 59.54 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/6.44, allocations: 0 / 3.484 GB, free: 59.54 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003274/6.443, allocations: 1.495 MB / 3.485 GB, free: 58.02 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/6.443, allocations: 4 kB / 3.485 GB, free: 58.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/6.443, allocations: 3.938 kB / 3.485 GB, free: 58.01 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/6.444, allocations: 208.2 kB / 3.485 GB, free: 57.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/6.445, allocations: 311.6 kB / 3.486 GB, free: 57.49 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004771/6.45, allocations: 6.535 MB / 3.492 GB, free: 50.37 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/6.452, allocations: 135.2 kB / 3.492 GB, free: 50.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/6.452, allocations: 67.95 kB / 3.492 GB, free: 50.17 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.0004313/6.453, allocations: 122.2 kB / 3.492 GB, free: 50.04 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00332/6.456, allocations: 1.51 MB / 3.494 GB, free: 48.51 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006107/6.457, allocations: 173.8 kB / 3.494 GB, free: 48.34 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/6.461, allocations: 1.906 MB / 3.496 GB, free: 46.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/6.461, allocations: 16 kB / 3.496 GB, free: 46.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/6.461, allocations: 0 / 3.496 GB, free: 46.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/6.461, allocations: 7.969 kB / 3.496 GB, free: 46.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007127/6.468, allocations: 3.836 MB / 3.5 GB, free: 42.48 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/6.468, allocations: 0 / 3.5 GB, free: 42.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/6.469, allocations: 331.6 kB / 3.5 GB, free: 42.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008741/6.47, allocations: 208.1 kB / 3.5 GB, free: 41.94 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/6.47, allocations: 23.97 kB / 3.5 GB, free: 41.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/6.475, allocations: 6.554 MB / 3.507 GB, free: 34.79 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/6.475, allocations: 4 kB / 3.507 GB, free: 34.78 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004494/6.48, allocations: 1.701 MB / 3.508 GB, free: 33.05 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002086/6.482, allocations: 0.6582 MB / 3.509 GB, free: 32.37 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009348/6.483, allocations: 4 kB / 3.509 GB, free: 32.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00221/6.485, allocations: 107.8 kB / 3.509 GB, free: 32.26 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/6.485, allocations: 113 kB / 3.509 GB, free: 32.14 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000263/6.486, allocations: 87.89 kB / 3.509 GB, free: 32.06 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002946/6.488, allocations: 1.765 MB / 3.511 GB, free: 30.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.488, allocations: 4 kB / 3.511 GB, free: 30.29 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003119/6.492, allocations: 0.7675 MB / 3.512 GB, free: 29.52 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.007102/6.499, allocations: 3.842 MB / 3.515 GB, free: 25.74 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002535/6.501, allocations: 1.725 MB / 3.517 GB, free: 23.96 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/6.501, allocations: 0.5625 kB / 3.517 GB, free: 23.96 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/6.503, allocations: 1.22 MB / 3.518 GB, free: 22.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/6.506, allocations: 428.1 kB / 3.519 GB, free: 22.28 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009741/6.515, allocations: 3.349 MB / 3.522 GB, free: 18.88 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/6.517, allocations: 1.553 MB / 3.524 GB, free: 17.29 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002967/6.52, allocations: 0.6484 MB / 3.524 GB, free: 16.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001744/6.522, allocations: 0.917 MB / 3.525 GB, free: 15.72 MB / 1.151 GB Notification: Performance of SimCode: time 1.523e-06/6.522, allocations: 4 kB / 3.525 GB, free: 15.71 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8074/7.329, allocations: 54.62 MB / 3.578 GB, free: 296.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/7.329, allocations: 185.1 kB / 3.579 GB, free: 296.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.776/12.11, allocations: 3.281 kB / 3.579 GB, free: 296.4 MB / 1.151 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