Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.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.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",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.358/2.358, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001301/0.001301, allocations: 172.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.614/1.614, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.001052/0.001052, allocations: 95.94 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.487e-05/3.491e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3063, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9733/1.28, allocations: 154.1 MB / 1.369 GB, free: 0 / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/1.28, allocations: 78.7 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01985/1.3, allocations: 7.294 MB / 1.377 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.948e-06/1.3, allocations: 224 / 1.377 GB, free: 9.785 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.37e-05/1.3, allocations: 11.88 kB / 1.377 GB, free: 9.773 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007057/1.301, allocations: 0.4993 MB / 1.377 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.301, allocations: 8.031 kB / 1.377 GB, free: 9.238 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.581e-05/1.301, allocations: 46.05 kB / 1.377 GB, free: 9.188 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/1.301, allocations: 27.67 kB / 1.377 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/1.301, allocations: 334.4 kB / 1.377 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/1.301, allocations: 11.25 kB / 1.377 GB, free: 8.812 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/1.301, allocations: 15.12 kB / 1.377 GB, free: 8.801 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/1.302, allocations: 85.97 kB / 1.378 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.302, allocations: 0 / 1.378 GB, free: 8.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/1.302, allocations: 3.938 kB / 1.378 GB, free: 8.727 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/1.302, allocations: 4 kB / 1.378 GB, free: 8.723 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/1.302, allocations: 52.19 kB / 1.378 GB, free: 8.688 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/1.303, allocations: 460.1 kB / 1.378 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/1.303, allocations: 92.66 kB / 1.378 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/1.303, allocations: 28.09 kB / 1.378 GB, free: 8.152 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/1.303, allocations: 7.984 kB / 1.378 GB, free: 8.145 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/1.303, allocations: 81.78 kB / 1.378 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.796e-06/1.303, allocations: 0 / 1.378 GB, free: 8.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002773/1.303, allocations: 123.5 kB / 1.378 GB, free: 7.957 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/1.303, allocations: 55.41 kB / 1.378 GB, free: 7.891 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/1.304, allocations: 334.2 kB / 1.379 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/1.304, allocations: 25.7 kB / 1.379 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/1.304, allocations: 143 kB / 1.379 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/1.304, allocations: 27.23 kB / 1.379 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/1.304, allocations: 7.438 kB / 1.379 GB, free: 7.457 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.304, allocations: 329.8 kB / 1.379 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/1.304, allocations: 72.23 kB / 1.379 GB, free: 7.086 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/1.304, allocations: 102 kB / 1.379 GB, free: 7.004 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/1.304, allocations: 74 kB / 1.379 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.304, allocations: 0 / 1.379 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003189/1.305, allocations: 218.9 kB / 1.38 GB, free: 6.781 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.305, allocations: 8 kB / 1.38 GB, free: 6.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/1.305, allocations: 0 / 1.38 GB, free: 6.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/1.305, allocations: 3.984 kB / 1.38 GB, free: 6.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/1.305, allocations: 34.98 kB / 1.38 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.305, allocations: 0 / 1.38 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/1.305, allocations: 23.83 kB / 1.38 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/1.305, allocations: 11.98 kB / 1.38 GB, free: 6.707 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/1.305, allocations: 113.6 kB / 1.38 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/1.305, allocations: 19.72 kB / 1.38 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/1.306, allocations: 145.7 kB / 1.38 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.306, allocations: 0 / 1.38 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.306, allocations: 8.031 kB / 1.38 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.306, allocations: 3.938 kB / 1.38 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/1.306, allocations: 261 kB / 1.38 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.306, allocations: 0 / 1.38 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/1.306, allocations: 15.17 kB / 1.38 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.306, allocations: 0 / 1.38 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/1.306, allocations: 0 / 1.38 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/1.306, allocations: 0 / 1.38 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.306, allocations: 0 / 1.38 GB, free: 6.152 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/1.306, allocations: 159.2 kB / 1.38 GB, free: 6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.369e-05/1.306, allocations: 108.4 kB / 1.381 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/1.306, allocations: 3.984 kB / 1.381 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/1.306, allocations: 15.23 kB / 1.381 GB, free: 5.863 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.437e-05/1.306, allocations: 11.98 kB / 1.381 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/1.306, allocations: 15.73 kB / 1.381 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002304/1.307, allocations: 225.2 kB / 1.381 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.307, allocations: 0 / 1.381 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002943/1.307, allocations: 54.38 kB / 1.381 GB, free: 5.613 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/1.309, allocations: 0.9728 MB / 1.382 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002727/1.309, allocations: 117.1 kB / 1.382 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.309, allocations: 0 / 1.382 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/1.309, allocations: 34.56 kB / 1.382 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/1.309, allocations: 54.19 kB / 1.382 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007602/1.31, allocations: 375.3 kB / 1.382 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/1.31, allocations: 0.759 MB / 1.383 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001046/1.311, allocations: 30.25 kB / 1.383 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.311, allocations: 75.2 kB / 1.383 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.311, allocations: 7.938 kB / 1.383 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/1.327, allocations: 5.222 MB / 1.388 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/1.327, allocations: 213.2 kB / 1.389 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/3.13, allocations: 4 kB / 1.389 GB, free: 14.16 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold_res.mat does not exist to compare? outputFormat=mat