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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, 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.001559/0.001559, allocations: 193.8 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.547/1.547, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.52/2.52, allocations: 390.2 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 59.89 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8176, allocations: 140.4 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002221/0.8198, allocations: 0.7737 MB / 0.9503 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.8209, allocations: 0.8681 MB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.8209, allocations: 1.469 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.143e-05/0.821, allocations: 3.938 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.099e-05/0.8211, allocations: 13.39 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.8213, allocations: 38.11 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.8214, allocations: 87.11 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.8215, allocations: 30.78 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.8216, allocations: 32.7 kB / 0.9514 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.8217, allocations: 53.16 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.8218, allocations: 7.719 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.8218, allocations: 7.688 kB / 0.9515 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.8218, allocations: 19.22 kB / 0.9515 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.264e-05/0.8219, allocations: 34.64 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.822, allocations: 90.95 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.822, allocations: 4 kB / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.325e-06/0.8221, allocations: 4.906 kB / 0.9516 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.8221, allocations: 0 / 0.9516 GB, free: 7.609 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.0006448/0.8227, allocations: 388.8 kB / 0.952 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8228, allocations: 10.41 kB / 0.952 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.8228, allocations: 12.31 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.8229, allocations: 184.5 kB / 0.9522 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.823, allocations: 7.031 kB / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.823, allocations: 4.5 kB / 0.9522 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.8233, allocations: 108.9 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.8233, allocations: 0 / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.8234, allocations: 1.156 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.8234, allocations: 5.266 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.8238, allocations: 103.9 kB / 0.9524 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.8243, allocations: 342.5 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.8249, allocations: 134 kB / 0.9528 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.8251, allocations: 56.05 kB / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.8252, allocations: 0 / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.8252, allocations: 35.88 kB / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.8252, allocations: 0 / 0.9529 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006729/0.8259, allocations: 176.4 kB / 0.9531 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.8259, allocations: 60.59 kB / 0.9532 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.826, allocations: 121.3 kB / 0.9533 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.826, allocations: 27.11 kB / 0.9533 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.8261, allocations: 98.92 kB / 0.9534 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.8261, allocations: 22.44 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.8262, allocations: 24.39 kB / 0.9534 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.8262, allocations: 324.1 kB / 0.9537 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.8264, allocations: 43.92 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.8266, allocations: 48.28 kB / 0.9538 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.827, allocations: 103.1 kB / 0.9539 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.827, allocations: 0 / 0.9539 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003956/0.8274, allocations: 140.9 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.8274, allocations: 5.5 kB / 0.9541 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8274, allocations: 5.406 kB / 0.9541 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.8274, allocations: 3.938 kB / 0.9541 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.8276, allocations: 24.34 kB / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8276, allocations: 0 / 0.9541 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.8277, allocations: 16.11 kB / 0.9541 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.8278, allocations: 5.484 kB / 0.9541 GB, free: 5.359 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 7.604e-05/0.8278, allocations: 114.2 kB / 0.9542 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.8279, allocations: 10.69 kB / 0.9542 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.8283, allocations: 152.2 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8283, allocations: 0 / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8284, allocations: 1.344 kB / 0.9544 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.8284, allocations: 7.922 kB / 0.9544 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.8285, allocations: 195 kB / 0.9546 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.8285, allocations: 5.406 kB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.8287, allocations: 23.12 kB / 0.9546 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8287, allocations: 1.531 kB / 0.9546 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8287, allocations: 5.203 kB / 0.9546 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.8287, allocations: 4 kB / 0.9546 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.8287, allocations: 0 / 0.9546 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.8292, allocations: 243.5 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.234e-05/0.8292, allocations: 79.23 kB / 0.9549 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.8292, allocations: 1.125 kB / 0.9549 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.8294, allocations: 11.02 kB / 0.9549 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.378e-05/0.8295, allocations: 26.41 kB / 0.955 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.8295, allocations: 6.781 kB / 0.955 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.8295, allocations: 92.89 kB / 0.9551 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8295, allocations: 4 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002335/0.8298, allocations: 24.75 kB / 0.9551 GB, free: 4.473 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.0001/0.8299, allocations: 97.31 kB / 0.9552 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004319/0.8303, allocations: 112.7 kB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.8303, allocations: 4 kB / 0.9553 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.8306, allocations: 63.62 kB / 0.9554 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.8309, allocations: 8.312 kB / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.8314, allocations: 171.7 kB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.8315, allocations: 0.697 MB / 0.9562 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.791e-05/0.8316, allocations: 10.94 kB / 0.9562 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.8316, allocations: 18.11 kB / 0.9562 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of SimCode: time 7.82e-07/0.8316, allocations: 0 / 0.9562 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.003859/0.8355, allocations: 1.58 MB / 0.9578 GB, free: 2.621 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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