Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.005227/0.005227, allocations: 99.16 kB / 15.73 MB, free: 6.012 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.001468/0.001468, allocations: 197 kB / 16.68 MB, free: 5.93 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.523/2.523, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 63.91 kB / 1.083 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6932/0.695, allocations: 162.3 MB / 1.242 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001716/0.6967, allocations: 0.7772 MB / 1.243 GB, free: 384 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00092/0.6976, allocations: 0.8663 MB / 1.243 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.6977, allocations: 0 / 1.243 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.6977, allocations: 11.86 kB / 1.243 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.483e-05/0.6978, allocations: 11.92 kB / 1.243 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.698, allocations: 39.89 kB / 1.244 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.6981, allocations: 91.81 kB / 1.244 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.6982, allocations: 23.98 kB / 1.244 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.6983, allocations: 39.8 kB / 1.244 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.112e-05/0.6984, allocations: 47.81 kB / 1.244 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.6984, allocations: 8 kB / 1.244 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.721e-05/0.6984, allocations: 8 kB / 1.244 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.6985, allocations: 27.91 kB / 1.244 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.595e-05/0.6985, allocations: 35.84 kB / 1.244 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.6986, allocations: 90.33 kB / 1.244 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.6987, allocations: 0 / 1.244 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6987, allocations: 0 / 1.244 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6987, allocations: 0 / 1.244 GB, free: 15.07 MB / 0.9669 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.0005814/0.6993, allocations: 392.1 kB / 1.244 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.6993, allocations: 8.031 kB / 1.244 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.6993, allocations: 42.75 kB / 1.244 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.6994, allocations: 12.83 kB / 1.244 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.6995, allocations: 176.3 kB / 1.244 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.6995, allocations: 8.375 kB / 1.244 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.6996, allocations: 8.125 kB / 1.245 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.6999, allocations: 97.61 kB / 1.245 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.6999, allocations: 0 / 1.245 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.6999, allocations: 8 kB / 1.245 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6999, allocations: 4 kB / 1.245 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.7003, allocations: 95.84 kB / 1.245 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.7008, allocations: 344.6 kB / 1.245 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.7013, allocations: 122.5 kB / 1.245 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.7015, allocations: 56.81 kB / 1.245 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.7016, allocations: 0 / 1.245 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.7016, allocations: 30.56 kB / 1.245 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.7016, allocations: 3.938 kB / 1.245 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006285/0.7022, allocations: 185.5 kB / 1.245 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.7023, allocations: 51.41 kB / 1.245 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.7024, allocations: 133.7 kB / 1.246 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.7024, allocations: 29.64 kB / 1.246 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.7025, allocations: 97.97 kB / 1.246 GB, free: 13 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.7025, allocations: 27.78 kB / 1.246 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.7026, allocations: 25.7 kB / 1.246 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7027, allocations: 318.8 kB / 1.246 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.7029, allocations: 43.95 kB / 1.246 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.703, allocations: 43.95 kB / 1.246 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.7034, allocations: 100.8 kB / 1.246 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7034, allocations: 4 kB / 1.246 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003875/0.7038, allocations: 125.6 kB / 1.246 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.7038, allocations: 12 kB / 1.246 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.7038, allocations: 3.984 kB / 1.246 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.7038, allocations: 0 / 1.246 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.704, allocations: 27.91 kB / 1.246 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.704, allocations: 3.938 kB / 1.246 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.7041, allocations: 19.92 kB / 1.246 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.7041, allocations: 0 / 1.246 GB, free: 12.23 MB / 0.9669 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,max1.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.712e-05/0.7042, allocations: 118.5 kB / 1.247 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.7042, allocations: 7.953 kB / 1.247 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.7047, allocations: 153.9 kB / 1.247 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7047, allocations: 4 kB / 1.247 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7047, allocations: 3.938 kB / 1.247 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.7047, allocations: 0 / 1.247 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.7049, allocations: 201.6 kB / 1.247 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7049, allocations: 4 kB / 1.247 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.7051, allocations: 31.91 kB / 1.247 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7051, allocations: 0 / 1.247 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.7051, allocations: 0 / 1.247 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7051, allocations: 0.625 kB / 1.247 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7051, allocations: 3.938 kB / 1.247 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.7056, allocations: 239.4 kB / 1.247 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.7056, allocations: 85.06 kB / 1.247 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.7057, allocations: 4 kB / 1.247 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.7058, allocations: 15.97 kB / 1.247 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/0.7059, allocations: 27.86 kB / 1.247 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.7059, allocations: 3.984 kB / 1.247 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.706, allocations: 95.28 kB / 1.247 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.706, allocations: 0 / 1.247 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002138/0.7062, allocations: 19.94 kB / 1.247 GB, free: 11.13 MB / 0.9669 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 (max1.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.0007292/0.7069, allocations: 0.7676 MB / 1.248 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003976/0.7073, allocations: 107.8 kB / 1.248 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7073, allocations: 0 / 1.248 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.7075, allocations: 59.94 kB / 1.248 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.7078, allocations: 17.81 kB / 1.248 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.7098, allocations: 1.536 MB / 1.25 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.7101, allocations: 0.6963 MB / 1.251 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.865e-05/0.7101, allocations: 12 kB / 1.251 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.7102, allocations: 31.41 kB / 1.251 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of SimCode: time 2.01e-07/0.7102, allocations: 0 / 1.251 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.447/2.157, allocations: 2.694 MB / 1.253 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/16.43, allocations: 16.52 kB / 1.253 GB, free: 5.172 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches