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.001364/0.001364, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.286/2.286, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 59.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6974/0.6988, allocations: 140.4 MB / 0.9497 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001695/0.7005, allocations: 0.7713 MB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007914/0.7013, allocations: 0.8644 MB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.7014, allocations: 1.469 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.7014, allocations: 7.875 kB / 0.9513 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.338e-05/0.7015, allocations: 13.22 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.7016, allocations: 42.78 kB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.401e-05/0.7017, allocations: 86.73 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.7018, allocations: 22.42 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.7019, allocations: 37.17 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.95e-05/0.702, allocations: 53.17 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.702, allocations: 12.28 kB / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.822e-05/0.702, allocations: 7.531 kB / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.7021, allocations: 19.16 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.7021, allocations: 34.23 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.557e-05/0.7022, allocations: 83.19 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.7022, allocations: 4 kB / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.12e-07/0.7022, allocations: 0 / 0.9517 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7022, allocations: 1.156 kB / 0.9517 GB, free: 7.5 MB / 0.7169 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.0004807/0.7027, allocations: 392.4 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.7028, allocations: 9.812 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.288e-05/0.7028, allocations: 41.28 kB / 0.9522 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.7028, allocations: 12.5 kB / 0.9522 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.7029, allocations: 180.5 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.7029, allocations: 8.156 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.703, allocations: 3.188 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.7033, allocations: 109 kB / 0.9525 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.7033, allocations: 4 kB / 0.9525 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7033, allocations: 4 kB / 0.9525 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7033, allocations: 2.625 kB / 0.9525 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000367/0.7037, allocations: 99.02 kB / 0.9526 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.7041, allocations: 347.5 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.7047, allocations: 117.7 kB / 0.953 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.7049, allocations: 59.5 kB / 0.9531 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.7049, allocations: 1.156 kB / 0.9531 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.2e-05/0.7049, allocations: 35.77 kB / 0.9531 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.7049, allocations: 0 / 0.9531 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006167/0.7055, allocations: 183.7 kB / 0.9533 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.7056, allocations: 56.47 kB / 0.9533 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.652e-05/0.7056, allocations: 129.5 kB / 0.9535 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.7057, allocations: 30.83 kB / 0.9535 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.232e-05/0.7057, allocations: 90.66 kB / 0.9536 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.7057, allocations: 26.27 kB / 0.9536 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.7058, allocations: 24.95 kB / 0.9536 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.7058, allocations: 316.2 kB / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.706, allocations: 48.3 kB / 0.954 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.7062, allocations: 43.7 kB / 0.954 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.7065, allocations: 99.14 kB / 0.9541 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7065, allocations: 4 kB / 0.9541 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003862/0.7069, allocations: 136.1 kB / 0.9542 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.7069, allocations: 13.39 kB / 0.9542 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.7069, allocations: 0 / 0.9542 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.707, allocations: 1.031 kB / 0.9542 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.7071, allocations: 31.53 kB / 0.9543 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.7071, allocations: 5.062 kB / 0.9543 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.7073, allocations: 15.73 kB / 0.9543 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.7073, allocations: 1.094 kB / 0.9543 GB, free: 5.203 MB / 0.7169 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 5.504e-05/0.7073, allocations: 114 kB / 0.9544 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.7074, allocations: 6.906 kB / 0.9544 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.7078, allocations: 156.2 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.7078, allocations: 0 / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.7078, allocations: 1.469 kB / 0.9546 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7078, allocations: 3.938 kB / 0.9546 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.708, allocations: 199.2 kB / 0.9548 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.708, allocations: 5.406 kB / 0.9548 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.7081, allocations: 23.78 kB / 0.9548 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.7081, allocations: 0 / 0.9548 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.7082, allocations: 9.562 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7082, allocations: 0 / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7082, allocations: 1.562 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004403/0.7086, allocations: 231.3 kB / 0.955 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.7087, allocations: 86.02 kB / 0.9551 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.7087, allocations: 9.172 kB / 0.9551 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.7088, allocations: 14.95 kB / 0.9551 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.7089, allocations: 26.59 kB / 0.9551 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.7089, allocations: 6.453 kB / 0.9552 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.709, allocations: 94.05 kB / 0.9552 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.709, allocations: 0 / 0.9552 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002374/0.7092, allocations: 19.53 kB / 0.9553 GB, free: 4.316 MB / 0.7169 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.0006897/0.7099, allocations: 0.7658 MB / 0.956 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.7103, allocations: 118.2 kB / 0.9561 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7103, allocations: 0 / 0.9561 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.7105, allocations: 67.02 kB / 0.9562 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.7108, allocations: 12 kB / 0.9562 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.7126, allocations: 1.526 MB / 0.9577 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.7128, allocations: 0.6967 MB / 0.9584 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.542e-05/0.7128, allocations: 10.12 kB / 0.9584 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/0.7129, allocations: 31.05 kB / 0.9584 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.7129, allocations: 0 / 0.9584 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0849/0.7978, allocations: 2.654 MB / 0.961 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.257, allocations: 19.23 kB / 0.961 GB, free: 15.98 MB / 0.7325 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) Reference file matches