Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.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.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD500",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.Validation.BESTEST.WD500,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD500",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.245/2.245, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001227/0.001227, allocations: 180.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0008842/0.0008842, allocations: 87.97 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.539e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2344, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.411/4.645, allocations: 1.753 GB / 2.972 GB, free: 60.11 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/4.645, allocations: 87.95 kB / 2.972 GB, free: 60.02 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.656/6.301, allocations: 408.7 MB / 3.371 GB, free: 125.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.023e-06/6.301, allocations: 0 / 3.371 GB, free: 125.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006499/6.302, allocations: 167.9 kB / 3.372 GB, free: 125.4 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.0224/6.324, allocations: 6.335 MB / 3.378 GB, free: 119 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.88e-05/6.324, allocations: 12.03 kB / 3.378 GB, free: 119 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005715/6.33, allocations: 1.064 MB / 3.379 GB, free: 117.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04183/6.372, allocations: 6.298 MB / 3.385 GB, free: 111.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/6.383, allocations: 3.676 MB / 3.388 GB, free: 107.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005995/6.383, allocations: 0.6023 MB / 3.389 GB, free: 107.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003957/6.387, allocations: 0.7891 MB / 3.39 GB, free: 106.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03351/6.421, allocations: 9.944 MB / 3.4 GB, free: 96.36 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003488/6.421, allocations: 3.984 kB / 3.4 GB, free: 96.36 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002865/6.424, allocations: 347.9 kB / 3.4 GB, free: 96.02 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/6.424, allocations: 200 kB / 3.4 GB, free: 95.82 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02423/6.448, allocations: 11.09 MB / 3.411 GB, free: 84.73 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07727/6.526, allocations: 28.78 MB / 3.439 GB, free: 55.77 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01934/6.545, allocations: 7.499 MB / 3.446 GB, free: 48.24 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008279/6.553, allocations: 3.973 MB / 3.45 GB, free: 44.25 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/6.555, allocations: 0.6829 MB / 3.451 GB, free: 43.47 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008826/6.564, allocations: 4.727 MB / 3.455 GB, free: 38.68 MB / 1.167 GB Notification: Performance of pre-optimization done (n=689): time 8.987e-06/6.564, allocations: 0 / 3.455 GB, free: 38.68 MB / 1.167 GB Notification: Performance of matching and sorting (n=689): time 0.01552/6.579, allocations: 7.732 MB / 3.463 GB, free: 30.86 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/6.58, allocations: 467 kB / 3.463 GB, free: 30.31 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004305/6.584, allocations: 2.729 MB / 3.466 GB, free: 27.59 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001364/6.585, allocations: 141.7 kB / 3.466 GB, free: 27.45 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00194/6.587, allocations: 2.625 MB / 3.469 GB, free: 24.79 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002466/6.59, allocations: 2.237 MB / 3.471 GB, free: 22.52 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005563/6.59, allocations: 120 kB / 3.471 GB, free: 22.41 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002562/6.591, allocations: 0.5148 MB / 3.472 GB, free: 21.88 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005751/6.596, allocations: 3.125 MB / 3.475 GB, free: 18.75 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006327/6.603, allocations: 3.69 MB / 3.478 GB, free: 14.96 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006328/6.609, allocations: 3.304 MB / 3.482 GB, free: 11.62 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/6.609, allocations: 0 / 3.482 GB, free: 11.62 MB / 1.167 GB Notification: Performance of matching and sorting (n=760) (initialization): time 0.01684/6.626, allocations: 8.082 MB / 3.489 GB, free: 3.461 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/6.626, allocations: 11.98 kB / 3.489 GB, free: 3.449 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/6.626, allocations: 4 kB / 3.489 GB, free: 3.445 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/6.627, allocations: 181.8 kB / 3.49 GB, free: 3.262 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01298/6.64, allocations: 1.989 MB / 3.492 GB, free: 1.27 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7638/7.404, allocations: 3.042 MB / 3.495 GB, free: 290.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0141/7.418, allocations: 1.122 MB / 3.496 GB, free: 290.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003449/7.421, allocations: 309.2 kB / 3.496 GB, free: 290.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition2,$whenCondition1,$PRE.weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,$PRE.weaDatTDryBulTDewPoinOpa.conTim.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,$PRE.weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTimMin.tNext,$PRE.weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (756): * Single equations (assignments): 754 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002314/7.424, allocations: 423.8 kB / 3.496 GB, free: 290 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00237/7.426, allocations: 496.7 kB / 3.497 GB, free: 290 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03198/7.458, allocations: 9.977 MB / 3.507 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-05/7.458, allocations: 70.31 kB / 3.507 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.193e-05/7.458, allocations: 1.188 kB / 3.507 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001472/7.458, allocations: 35.53 kB / 3.507 GB, free: 289.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05194/7.51, allocations: 18.48 MB / 3.525 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.282e-05/7.51, allocations: 0 / 3.525 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01393/7.524, allocations: 1.874 MB / 3.527 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/7.526, allocations: 178.4 kB / 3.527 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002265/7.528, allocations: 226.7 kB / 3.527 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/7.531, allocations: 3.089 MB / 3.53 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/7.531, allocations: 2.984 kB / 3.53 GB, free: 285.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02282/7.554, allocations: 8.076 MB / 3.538 GB, free: 285.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005948/7.56, allocations: 1.9 MB / 3.54 GB, free: 284.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/7.562, allocations: 121.3 kB / 3.54 GB, free: 284.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01039/7.573, allocations: 0.8042 MB / 3.541 GB, free: 284.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/7.574, allocations: 413.7 kB / 3.541 GB, free: 284.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001112/7.575, allocations: 275.1 kB / 3.541 GB, free: 284.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006909/7.582, allocations: 2.32 MB / 3.543 GB, free: 284.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/7.582, allocations: 0 / 3.543 GB, free: 284.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01028/7.592, allocations: 2.04 MB / 3.545 GB, free: 284.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext,$whenCondition4,$whenCondition3,weaDatHHorIR.conTimMin.tNext,weaDatHHorIR.conTim.tNext) * Number of discrete states: 4 (weaDatHHorIR.conTim.tNext,weaDatHHorIR.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTimMin.tNext,weaDatTDryBulTDewPoinOpa.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (731): * Single equations (assignments): 725 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02544/7.618, allocations: 9.942 MB / 3.555 GB, free: 283 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01658/7.634, allocations: 8.088 MB / 3.563 GB, free: 282.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/7.635, allocations: 0 / 3.563 GB, free: 282.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.009202/7.644, allocations: 4.494 MB / 3.567 GB, free: 282.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007247/7.651, allocations: 0.7272 MB / 3.568 GB, free: 281.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03402/7.685, allocations: 11.79 MB / 3.58 GB, free: 277 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004961/7.69, allocations: 3.436 MB / 3.583 GB, free: 276.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0147/7.705, allocations: 1.731 MB / 3.585 GB, free: 276.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008003/7.713, allocations: 3.305 MB / 3.588 GB, free: 273.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.693e-06/7.713, allocations: 0 / 3.588 GB, free: 273.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2192/7.932, allocations: 146.8 MB / 3.731 GB, free: 196.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/7.932, allocations: 235.5 kB / 3.732 GB, free: 196.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/14.5, allocations: 6.297 kB / 3.732 GB, free: 196.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD500_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_Validation_BESTEST_WD500.fmu > Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.Validation.BESTEST.WD500_res.mat does not exist to compare? outputFormat=mat