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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 247.8 MB, free: 3.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 443.5 MB / 0.7287 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 67.89 kB / 1.056 GB, free: 2.484 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3531, allocations: 160.7 MB / 1.213 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002065/0.3552, allocations: 0.7792 MB / 1.214 GB, free: 0.6719 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3563, allocations: 0.874 MB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.3564, allocations: 0 / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.109e-05/0.3564, allocations: 7.875 kB / 1.215 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.255e-05/0.3565, allocations: 15.92 kB / 1.215 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.3567, allocations: 43.89 kB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.3568, allocations: 83.81 kB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.357, allocations: 19.98 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.3571, allocations: 39.84 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.599e-05/0.3572, allocations: 51.81 kB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.3572, allocations: 8 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.3572, allocations: 11.94 kB / 1.215 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/0.3572, allocations: 11.98 kB / 1.215 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.3573, allocations: 43.78 kB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.3574, allocations: 91.88 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3574, allocations: 0 / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3574, allocations: 0 / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3574, allocations: 0 / 1.215 GB, free: 15.36 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.0006954/0.3581, allocations: 395.1 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3582, allocations: 12.03 kB / 1.215 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.808e-05/0.3582, allocations: 34.75 kB / 1.215 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3583, allocations: 12.89 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3584, allocations: 176.3 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3585, allocations: 8.375 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.3585, allocations: 8.125 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.3588, allocations: 101.6 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3588, allocations: 0 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.3588, allocations: 4 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3588, allocations: 0 / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.3592, allocations: 99.89 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.3598, allocations: 348.6 kB / 1.216 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.3604, allocations: 118.5 kB / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/0.3606, allocations: 52.81 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.3606, allocations: 4 kB / 1.216 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3607, allocations: 34.55 kB / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3607, allocations: 0 / 1.216 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006622/0.3613, allocations: 181.8 kB / 1.216 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3614, allocations: 51.41 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3615, allocations: 125.8 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3615, allocations: 25.7 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.3616, allocations: 100 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.3616, allocations: 27.77 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.3617, allocations: 33.64 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3618, allocations: 322.8 kB / 1.217 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.362, allocations: 43.95 kB / 1.217 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.3622, allocations: 52.02 kB / 1.217 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.3625, allocations: 96.77 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3625, allocations: 0 / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003874/0.3629, allocations: 137.5 kB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3629, allocations: 4 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3629, allocations: 0 / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3629, allocations: 4 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.3631, allocations: 27.91 kB / 1.217 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3631, allocations: 7.938 kB / 1.217 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3632, allocations: 15.98 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3632, allocations: 4 kB / 1.218 GB, free: 12.52 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,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 0.0001102/0.3633, allocations: 113.8 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.3634, allocations: 11.94 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.3638, allocations: 149.9 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3638, allocations: 0 / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.3638, allocations: 3.938 kB / 1.218 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3638, allocations: 4 kB / 1.218 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/0.3641, allocations: 197.5 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3641, allocations: 0 / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.3642, allocations: 27.97 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3642, allocations: 0 / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3642, allocations: 4 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3642, allocations: 0 / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3642, allocations: 3.938 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004552/0.3647, allocations: 243.4 kB / 1.218 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.533e-05/0.3648, allocations: 88.98 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3648, allocations: 4 kB / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.3649, allocations: 11.98 kB / 1.218 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.365, allocations: 23.91 kB / 1.218 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.365, allocations: 8 kB / 1.218 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.3651, allocations: 103.5 kB / 1.218 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3651, allocations: 0 / 1.218 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002287/0.3653, allocations: 16 kB / 1.218 GB, free: 11.42 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 (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.0008323/0.3661, allocations: 0.7632 MB / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.3666, allocations: 112.3 kB / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3666, allocations: 0 / 1.219 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.3667, allocations: 52.11 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.3671, allocations: 16.03 kB / 1.219 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.3694, allocations: 1.55 MB / 1.221 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3697, allocations: 0.6963 MB / 1.222 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.367e-05/0.3698, allocations: 7.984 kB / 1.222 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.236e-05/0.3698, allocations: 35.42 kB / 1.222 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.3698, allocations: 0 / 1.222 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/0.3958, allocations: 2.709 MB / 1.224 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.499, allocations: 2.578 kB / 1.224 GB, free: 5.445 MB / 0.9669 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.645150524564087]