Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_9_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.000992/0.0009921, allocations: 91.14 kB / 15.36 MB, free: 0.7344 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.006324/0.006324, allocations: 170.5 kB / 16.26 MB, free: 6.68 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.263/2.263, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003274, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7357/0.736, allocations: 142.4 MB / 0.9552 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0009134/0.737, allocations: 0.4908 MB / 0.9557 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008146/0.7378, allocations: 0.8568 MB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.7379, allocations: 1.031 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.7379, allocations: 3.938 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.738, allocations: 9.016 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.7381, allocations: 35.31 kB / 0.9565 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.7382, allocations: 82.25 kB / 0.9566 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.7384, allocations: 25.59 kB / 0.9566 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.721e-05/0.7384, allocations: 27.84 kB / 0.9567 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.7385, allocations: 44.33 kB / 0.9567 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.7386, allocations: 3.531 kB / 0.9567 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.7386, allocations: 3.562 kB / 0.9567 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.305e-05/0.7386, allocations: 15.56 kB / 0.9567 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.7386, allocations: 62.64 kB / 0.9568 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.673e-05/0.7388, allocations: 74.97 kB / 0.9569 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7388, allocations: 0 / 0.9569 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7388, allocations: 0 / 0.9569 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.477e-06/0.7388, allocations: 1.094 kB / 0.9569 GB, free: 6.363 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.0004812/0.7393, allocations: 396.5 kB / 0.9572 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.7393, allocations: 10.69 kB / 0.9573 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.7393, allocations: 32.06 kB / 0.9573 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.7394, allocations: 12.59 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.7395, allocations: 188.6 kB / 0.9575 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.7395, allocations: 3.531 kB / 0.9575 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.7395, allocations: 4.219 kB / 0.9575 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000296/0.7398, allocations: 125.5 kB / 0.9576 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.7398, allocations: 0 / 0.9576 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.7399, allocations: 1.062 kB / 0.9576 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7399, allocations: 1 kB / 0.9576 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.7402, allocations: 115.4 kB / 0.9577 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.7407, allocations: 359.4 kB / 0.9581 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.7413, allocations: 131.7 kB / 0.9582 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.7415, allocations: 64.28 kB / 0.9582 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.7415, allocations: 1.031 kB / 0.9582 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.7415, allocations: 36.25 kB / 0.9583 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.7415, allocations: 4 kB / 0.9583 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006716/0.7422, allocations: 217.2 kB / 0.9585 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.7422, allocations: 52.72 kB / 0.9585 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.7423, allocations: 125.2 kB / 0.9587 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.7423, allocations: 26.83 kB / 0.9587 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.7424, allocations: 99.41 kB / 0.9588 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.7424, allocations: 22.42 kB / 0.9588 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.7424, allocations: 20.36 kB / 0.9588 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.7425, allocations: 312.2 kB / 0.9591 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.7427, allocations: 66.33 kB / 0.9592 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.7429, allocations: 57.22 kB / 0.9592 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.7432, allocations: 114.4 kB / 0.9594 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7432, allocations: 0 / 0.9594 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003928/0.7436, allocations: 164.6 kB / 0.9595 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.7436, allocations: 4.125 kB / 0.9595 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7436, allocations: 1.375 kB / 0.9595 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.7437, allocations: 4 kB / 0.9595 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.7438, allocations: 32.53 kB / 0.9595 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.7438, allocations: 1.922 kB / 0.9595 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.744, allocations: 24.3 kB / 0.9596 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.744, allocations: 1.375 kB / 0.9596 GB, free: 4.066 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,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 6.467e-05/0.7441, allocations: 122 kB / 0.9597 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.7441, allocations: 6.656 kB / 0.9597 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.7446, allocations: 174.9 kB / 0.9599 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7446, allocations: 1.375 kB / 0.9599 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7446, allocations: 3.938 kB / 0.9599 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.7446, allocations: 5.312 kB / 0.9599 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.7447, allocations: 199.4 kB / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7448, allocations: 0 / 0.9601 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.7449, allocations: 36.53 kB / 0.9601 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7449, allocations: 1.375 kB / 0.9601 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.7449, allocations: 5.375 kB / 0.9601 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7449, allocations: 3.984 kB / 0.9601 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.745, allocations: 0 / 0.9601 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.7454, allocations: 259.1 kB / 0.9604 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.7454, allocations: 83.77 kB / 0.9604 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.7454, allocations: 9.375 kB / 0.9604 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.7456, allocations: 18.98 kB / 0.9605 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.7457, allocations: 22.78 kB / 0.9605 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.7457, allocations: 2.75 kB / 0.9605 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.029e-05/0.7457, allocations: 101.3 kB / 0.9606 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.22e-07/0.7457, allocations: 0 / 0.9606 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002214/0.746, allocations: 20.25 kB / 0.9606 GB, free: 3.16 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 (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.0006074/0.7466, allocations: 0.7916 MB / 0.9614 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004118/0.747, allocations: 129.3 kB / 0.9615 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.747, allocations: 0 / 0.9615 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.7472, allocations: 76.25 kB / 0.9616 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.7475, allocations: 12.19 kB / 0.9616 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.7493, allocations: 1.596 MB / 0.9631 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.7494, allocations: 0.6958 MB / 0.9638 GB, free: 248 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.538e-05/0.7495, allocations: 11.19 kB / 0.9638 GB, free: 244 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.7496, allocations: 32.62 kB / 0.9639 GB, free: 216 kB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.7496, allocations: 0 / 0.9639 GB, free: 216 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.7612, allocations: 2.251 MB / 0.9661 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.7615, allocations: 196.7 kB / 0.9662 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/4.066, allocations: 3.938 kB / 0.9663 GB, free: 14.88 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches