Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005286/0.005286, allocations: 100.5 kB / 15.73 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 187 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.72 kB / 0.9504 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2379, allocations: 140.4 MB / 1.087 GB, free: 2.043 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001837/0.2398, allocations: 0.774 MB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009387/0.2408, allocations: 0.8662 MB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.2408, allocations: 7.938 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.2409, allocations: 7.922 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.241, allocations: 7.875 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.2412, allocations: 47.88 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2413, allocations: 79.89 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2414, allocations: 23.98 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.853e-05/0.2415, allocations: 43.84 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.98e-05/0.2416, allocations: 43.83 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.2416, allocations: 8 kB / 1.089 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.2416, allocations: 8 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.2417, allocations: 31.83 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.2417, allocations: 31.8 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.2419, allocations: 87.72 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2419, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2419, allocations: 4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2419, allocations: 4 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006131/0.2425, allocations: 390.9 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2426, allocations: 8.031 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.2426, allocations: 30.75 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.2426, allocations: 8.844 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2428, allocations: 188.2 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.2428, allocations: 384 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.2428, allocations: 12.12 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.2431, allocations: 105.6 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.2431, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2431, allocations: 0 / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.2432, allocations: 4 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.2435, allocations: 95.84 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.244, allocations: 348.6 kB / 1.091 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.2447, allocations: 118.6 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.2449, allocations: 56.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.2449, allocations: 4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.2449, allocations: 38.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2449, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0006634/0.2456, allocations: 189.4 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.2456, allocations: 51.41 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/0.2457, allocations: 129.7 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2457, allocations: 25.7 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.2458, allocations: 95.98 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.2458, allocations: 15.81 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.2459, allocations: 25.64 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.246, allocations: 322.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.2462, allocations: 47.95 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.2464, allocations: 47.89 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.2469, allocations: 96.77 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2469, allocations: 8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004442/0.2474, allocations: 137.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2474, allocations: 5.875 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2474, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2474, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2476, allocations: 23.97 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2476, allocations: 3.938 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2478, allocations: 23.91 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.2478, allocations: 3.938 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.2479, allocations: 113.8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.2479, allocations: 7.906 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.2484, allocations: 158.4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.2484, allocations: 0 / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.2484, allocations: 7.938 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2484, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.2487, allocations: 197.6 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2487, allocations: 0 / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.2489, allocations: 27.91 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.2489, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2489, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2489, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.748e-06/0.2489, allocations: 3.938 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.2494, allocations: 236.8 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.2495, allocations: 85.02 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.2495, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2496, allocations: 19.97 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.2497, allocations: 19.92 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.2497, allocations: 4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.2498, allocations: 91.27 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2498, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002357/0.25, allocations: 16 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007596/0.2508, allocations: 0.7748 MB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.2513, allocations: 108 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2513, allocations: 3.938 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.2515, allocations: 59.94 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.2518, allocations: 19.88 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.254, allocations: 1.529 MB / 1.095 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.2543, allocations: 0.6885 MB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.505e-05/0.2544, allocations: 15.75 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.2545, allocations: 35.41 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of SimCode: time 1.733e-06/0.2545, allocations: 0 / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.2748, allocations: 2.757 MB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.25, allocations: 7.922 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,min1.u1,min1.u2,min1.y Variables in the result:min1.u1,min1.u2,min1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time