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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007786/0.0007786, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006044/0.006045, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.325/1.325, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.000368, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7235/0.7238, allocations: 142.4 MB / 0.9552 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001003/0.7249, allocations: 0.4899 MB / 0.9557 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.7257, allocations: 0.8652 MB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.285e-05/0.7258, allocations: 1.125 kB / 0.9565 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.7258, allocations: 3.938 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.252e-05/0.7259, allocations: 5.031 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.7261, allocations: 39.2 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.7262, allocations: 77.67 kB / 0.9566 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.7263, allocations: 26.52 kB / 0.9566 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.7264, allocations: 27.55 kB / 0.9567 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.68e-05/0.7265, allocations: 48.69 kB / 0.9567 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.7266, allocations: 7.656 kB / 0.9567 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.666e-05/0.7266, allocations: 2.875 kB / 0.9567 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.7266, allocations: 10.67 kB / 0.9567 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.7267, allocations: 59.95 kB / 0.9568 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.7268, allocations: 81.86 kB / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7268, allocations: 1 kB / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7268, allocations: 0 / 0.9569 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7268, allocations: 0 / 0.9569 GB, free: 6.309 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.000576/0.7274, allocations: 386.1 kB / 0.9572 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.7275, allocations: 13.34 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.7275, allocations: 37.02 kB / 0.9573 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.7276, allocations: 8.219 kB / 0.9573 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.7277, allocations: 185.5 kB / 0.9575 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.7277, allocations: 2.562 kB / 0.9575 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.7277, allocations: 8.844 kB / 0.9575 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.728, allocations: 117.3 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7281, allocations: 0.9375 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.7281, allocations: 0 / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7281, allocations: 1.938 kB / 0.9576 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.7285, allocations: 123.3 kB / 0.9577 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.7289, allocations: 354.7 kB / 0.9581 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000597/0.7295, allocations: 128 kB / 0.9582 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.7297, allocations: 65.12 kB / 0.9582 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.7298, allocations: 1.062 kB / 0.9582 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.7298, allocations: 40.47 kB / 0.9583 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.7298, allocations: 0 / 0.9583 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006927/0.7305, allocations: 217.6 kB / 0.9585 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.7305, allocations: 55.39 kB / 0.9585 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.7306, allocations: 122.5 kB / 0.9587 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.7306, allocations: 25.7 kB / 0.9587 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.7307, allocations: 99.48 kB / 0.9588 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.7307, allocations: 22.97 kB / 0.9588 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.7307, allocations: 16.75 kB / 0.9588 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.7308, allocations: 316.2 kB / 0.9591 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/0.731, allocations: 58.23 kB / 0.9592 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/0.7312, allocations: 58.08 kB / 0.9592 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.7315, allocations: 120.9 kB / 0.9593 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.7315, allocations: 1.375 kB / 0.9593 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004072/0.732, allocations: 158.5 kB / 0.9595 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.732, allocations: 9.438 kB / 0.9595 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.732, allocations: 0 / 0.9595 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.732, allocations: 1.375 kB / 0.9595 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.7322, allocations: 40.52 kB / 0.9595 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.7322, allocations: 1.375 kB / 0.9595 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.7323, allocations: 28.28 kB / 0.9596 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.7323, allocations: 1.375 kB / 0.9596 GB, free: 4.016 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 6.296e-05/0.7324, allocations: 121.9 kB / 0.9597 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.7324, allocations: 6.656 kB / 0.9597 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.7329, allocations: 174.9 kB / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7329, allocations: 1.375 kB / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7329, allocations: 0 / 0.9599 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7329, allocations: 3.938 kB / 0.9599 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.7331, allocations: 200.8 kB / 0.9601 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7331, allocations: 0 / 0.9601 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.7332, allocations: 32.59 kB / 0.9601 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.7332, allocations: 5.312 kB / 0.9601 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.7333, allocations: 9.375 kB / 0.9601 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7333, allocations: 0 / 0.9601 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.7333, allocations: 0 / 0.9601 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/0.7337, allocations: 259.4 kB / 0.9604 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.7337, allocations: 83.33 kB / 0.9604 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.7337, allocations: 1.156 kB / 0.9604 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.7339, allocations: 27 kB / 0.9605 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.734, allocations: 23.28 kB / 0.9605 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.734, allocations: 1.594 kB / 0.9605 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.734, allocations: 97.83 kB / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.734, allocations: 0 / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002237/0.7343, allocations: 17.16 kB / 0.9606 GB, free: 3.121 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.0006188/0.7349, allocations: 0.7899 MB / 0.9614 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.7353, allocations: 129.1 kB / 0.9615 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7353, allocations: 0.8125 kB / 0.9615 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.7355, allocations: 76.22 kB / 0.9616 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.7358, allocations: 18.36 kB / 0.9616 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.7376, allocations: 1.596 MB / 0.9631 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.817e-05/0.7377, allocations: 0.6906 MB / 0.9638 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.648e-05/0.7378, allocations: 10.84 kB / 0.9638 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.7378, allocations: 32.61 kB / 0.9639 GB, free: 176 kB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.7378, allocations: 0 / 0.9639 GB, free: 176 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.7489, allocations: 2.262 MB / 0.9661 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.7492, allocations: 202.3 kB / 0.9663 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/4, allocations: 4 kB / 0.9663 GB, free: 14.83 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