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.199/2.199, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001232/0.001232, allocations: 182.4 kB / 0.4901 GB, free: 2.246 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.491/1.491, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009518/0.0009517, allocations: 95.95 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 10.59 kB / 1.09 GB, free: 215.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3312, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.387/4.719, allocations: 1.939 GB / 3.168 GB, free: 41.37 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/4.719, allocations: 87.95 kB / 3.169 GB, free: 41.28 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.234/5.953, allocations: 326.4 MB / 3.487 GB, free: 182.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.807e-06/5.953, allocations: 4 kB / 3.487 GB, free: 182.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002859/5.954, allocations: 59.86 kB / 3.487 GB, free: 182.7 MB / 1.167 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.006881/5.961, allocations: 2.62 MB / 3.49 GB, free: 180 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/5.961, allocations: 8.562 kB / 3.49 GB, free: 180 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008282/5.961, allocations: 244.6 kB / 3.49 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004191/5.966, allocations: 0.5512 MB / 3.491 GB, free: 179.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004606/5.97, allocations: 2.184 MB / 3.493 GB, free: 177 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/5.97, allocations: 127.3 kB / 3.493 GB, free: 176.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004823/5.971, allocations: 164 kB / 3.493 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/5.975, allocations: 1.865 MB / 3.495 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/5.975, allocations: 0 / 3.495 GB, free: 174.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002667/5.975, allocations: 79.95 kB / 3.495 GB, free: 174.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/5.975, allocations: 40 kB / 3.495 GB, free: 174.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/5.979, allocations: 2.034 MB / 3.497 GB, free: 172.6 MB / 1.167 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.01119/5.99, allocations: 6.202 MB / 3.503 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/5.993, allocations: 2.004 MB / 3.505 GB, free: 164.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005244/5.994, allocations: 429.7 kB / 3.505 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/5.995, allocations: 0.9348 MB / 3.506 GB, free: 162.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=137): time 4.138e-06/5.995, allocations: 0 / 3.506 GB, free: 162.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=137): time 0.006713/6.002, allocations: 2.882 MB / 3.509 GB, free: 159.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.438e-05/6.002, allocations: 252.6 kB / 3.509 GB, free: 159.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/6.006, allocations: 2.449 MB / 3.512 GB, free: 156.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002732/6.006, allocations: 61.64 kB / 3.512 GB, free: 156.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/6.007, allocations: 0.8747 MB / 3.513 GB, free: 156 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/6.007, allocations: 453.3 kB / 3.513 GB, free: 155.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/6.007, allocations: 28 kB / 3.513 GB, free: 155.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/6.008, allocations: 345.9 kB / 3.514 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/6.009, allocations: 0.5452 MB / 3.514 GB, free: 154.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/6.01, allocations: 0.7597 MB / 3.515 GB, free: 153.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/6.011, allocations: 0.6287 MB / 3.515 GB, free: 153.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/6.011, allocations: 0 / 3.515 GB, free: 153.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003657/6.015, allocations: 1.705 MB / 3.517 GB, free: 151.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/6.015, allocations: 12.06 kB / 3.517 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/6.015, allocations: 0 / 3.517 GB, free: 151.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/6.016, allocations: 204.1 kB / 3.517 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/6.017, allocations: 311.6 kB / 3.518 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00429/6.021, allocations: 6.87 MB / 3.524 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/6.023, allocations: 170.9 kB / 3.524 GB, free: 143.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/6.023, allocations: 67.95 kB / 3.524 GB, free: 143.1 MB / 1.167 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 () * Number of clocked 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.001126/6.024, allocations: 475.5 kB / 3.525 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005301/6.025, allocations: 185.7 kB / 3.525 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/6.03, allocations: 2.152 MB / 3.527 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/6.03, allocations: 20 kB / 3.527 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/6.03, allocations: 0 / 3.527 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/6.03, allocations: 3.984 kB / 3.527 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007888/6.037, allocations: 4.268 MB / 3.531 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/6.038, allocations: 0 / 3.531 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/6.039, allocations: 327.6 kB / 3.532 GB, free: 135.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000933/6.04, allocations: 216 kB / 3.532 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/6.04, allocations: 39.97 kB / 3.532 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004282/6.044, allocations: 6.882 MB / 3.539 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/6.044, allocations: 0 / 3.539 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003989/6.048, allocations: 1.905 MB / 3.541 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/6.05, allocations: 0.6776 MB / 3.541 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005185/6.051, allocations: 24 kB / 3.541 GB, free: 125.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/6.052, allocations: 135.8 kB / 3.541 GB, free: 125 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002329/6.053, allocations: 109.2 kB / 3.541 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/6.053, allocations: 87.95 kB / 3.542 GB, free: 124.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00273/6.056, allocations: 1.94 MB / 3.543 GB, free: 122.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.056, allocations: 0 / 3.543 GB, free: 122.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002677/6.058, allocations: 0.8342 MB / 3.544 GB, free: 122 MB / 1.167 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) * Number of clocked states: 0 () * 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.006894/6.065, allocations: 3.994 MB / 3.548 GB, free: 118.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003069/6.068, allocations: 1.926 MB / 3.55 GB, free: 116.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/6.068, allocations: 0.5625 kB / 3.55 GB, free: 116.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/6.07, allocations: 1.356 MB / 3.551 GB, free: 114.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/6.072, allocations: 475.8 kB / 3.552 GB, free: 114.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/6.097, allocations: 15.39 MB / 3.567 GB, free: 98.18 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/6.099, allocations: 1.56 MB / 3.568 GB, free: 96.59 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002866/6.102, allocations: 0.653 MB / 3.569 GB, free: 95.93 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/6.103, allocations: 0.9209 MB / 3.57 GB, free: 95.01 MB / 1.167 GB Notification: Performance of SimCode: time 8.126e-06/6.103, allocations: 4 kB / 3.57 GB, free: 95 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09691/6.2, allocations: 67.54 MB / 3.636 GB, free: 27.94 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/6.2, allocations: 268.4 kB / 3.636 GB, free: 27.59 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.566/10.77, allocations: 4 kB / 3.636 GB, free: 27.58 MB / 1.167 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