Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_10_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.007349/0.007349, allocations: 104.9 kB / 15.73 MB, free: 6.043 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.001342/0.001342, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437.1 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.91 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3095, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002031/0.3116, allocations: 0.7717 MB / 1.167 GB, free: 6.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3127, allocations: 0.878 MB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.3127, allocations: 3.938 kB / 1.168 GB, free: 5.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.876e-05/0.3128, allocations: 7.875 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.313, allocations: 15.91 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.3132, allocations: 35.89 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.3134, allocations: 83.83 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.3135, allocations: 31.97 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3137, allocations: 31.86 kB / 1.168 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.3138, allocations: 51.81 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.3139, allocations: 8 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.555e-05/0.3139, allocations: 8 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.187e-05/0.314, allocations: 23.91 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.921e-05/0.314, allocations: 35.8 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.3142, allocations: 83.72 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3142, allocations: 11.92 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3143, allocations: 0 / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3143, allocations: 4 kB / 1.168 GB, free: 5.145 MB / 0.92 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.000835/0.3151, allocations: 386.9 kB / 1.169 GB, free: 4.723 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3152, allocations: 8.031 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.3152, allocations: 42.73 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.3153, allocations: 8.844 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.3155, allocations: 176.2 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.3155, allocations: 8.375 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3156, allocations: 12.12 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.316, allocations: 101.6 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3161, allocations: 4 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3161, allocations: 4 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3161, allocations: 0 / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.3167, allocations: 99.84 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.3174, allocations: 336.7 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009627/0.3184, allocations: 122.5 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/0.3187, allocations: 60.81 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.3188, allocations: 0 / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3188, allocations: 30.56 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.024e-06/0.3188, allocations: 4 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.001054/0.3199, allocations: 181.5 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.32, allocations: 55.41 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3201, allocations: 117.8 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.3202, allocations: 33.7 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.3203, allocations: 95.97 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.3203, allocations: 27.59 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.3204, allocations: 25.7 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3206, allocations: 322.8 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.3209, allocations: 47.89 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.3211, allocations: 48.25 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.3214, allocations: 104.9 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3214, allocations: 0 / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00041/0.3219, allocations: 129.6 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3219, allocations: 8 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3219, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3219, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.3221, allocations: 31.91 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.3221, allocations: 7.938 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.3222, allocations: 23.81 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3223, allocations: 4 kB / 1.171 GB, free: 2.301 MB / 0.92 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 8.895e-05/0.3224, allocations: 113.8 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.3224, allocations: 4 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.3229, allocations: 153.9 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3229, allocations: 0 / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3229, allocations: 3.938 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3229, allocations: 3.938 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.3231, allocations: 201.5 kB / 1.171 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3231, allocations: 3.984 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.3233, allocations: 23.97 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3233, allocations: 0 / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3233, allocations: 8 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3233, allocations: 0 / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3233, allocations: 3.938 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.3239, allocations: 227.5 kB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3239, allocations: 81.02 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.324, allocations: 4 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.3242, allocations: 19.97 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.3243, allocations: 23.92 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3243, allocations: 3.938 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.763e-05/0.3244, allocations: 99.2 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3244, allocations: 0 / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004574/0.3249, allocations: 16 kB / 1.172 GB, free: 1.227 MB / 0.92 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.001089/0.326, allocations: 0.7709 MB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000602/0.3266, allocations: 107.8 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3266, allocations: 0 / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.327, allocations: 63.94 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.3275, allocations: 19.48 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.3306, allocations: 1.549 MB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.331, allocations: 0.6924 MB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.3312, allocations: 12 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.3313, allocations: 27.42 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of SimCode: time 8.01e-07/0.3313, allocations: 0 / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.356, allocations: 2.686 MB / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.114, allocations: 29.47 kB / 1.178 GB, free: 11.24 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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