Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 110.4 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 215.8 kB / 22.25 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.86/2.86, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 65.5 kB / 1.117 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3406, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002244/0.3429, allocations: 0.7775 MB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3441, allocations: 0.8938 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.3442, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.833e-05/0.3443, allocations: 11.88 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.717e-05/0.3444, allocations: 15.84 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.3445, allocations: 35.97 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.3447, allocations: 83.77 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3448, allocations: 27.97 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3449, allocations: 35.91 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.345, allocations: 55.81 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.345, allocations: 8 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.786e-05/0.3451, allocations: 8 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.3451, allocations: 15.92 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.3451, allocations: 35.8 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.3453, allocations: 95.11 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3453, allocations: 0 / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3453, allocations: 0 / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.3453, allocations: 7.938 kB / 1.285 GB, free: 9.617 MB / 0.9825 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.0007009/0.346, allocations: 322 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.3461, allocations: 8.031 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.3461, allocations: 30.75 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.3462, allocations: 12.83 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.3464, allocations: 126.4 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3464, allocations: 4.359 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.3464, allocations: 12.12 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.3467, allocations: 113.2 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3467, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3468, allocations: 0 / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3468, allocations: 4 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.3471, allocations: 95.91 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.3477, allocations: 311.7 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.3483, allocations: 114.5 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.3485, allocations: 60.86 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3485, allocations: 3.984 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3486, allocations: 38.56 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 2.915e-06/0.3486, allocations: 3.984 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.000681/0.3493, allocations: 185.7 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3493, allocations: 55.41 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3494, allocations: 125.8 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3494, allocations: 25.7 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.3495, allocations: 100.1 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.3495, allocations: 11.84 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.3496, allocations: 25.7 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3497, allocations: 314.8 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.3499, allocations: 47.95 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.3501, allocations: 47.94 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003369/0.3504, allocations: 100.8 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3504, allocations: 7.938 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004128/0.3509, allocations: 137.5 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3509, allocations: 8 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3509, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3509, allocations: 0 / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3511, allocations: 23.97 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3511, allocations: 3.938 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.3512, allocations: 19.94 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.3512, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 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,sub.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.0001062/0.3513, allocations: 117.8 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.3513, allocations: 8 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.3514, allocations: 8.375 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3514, allocations: 7.938 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3514, allocations: 3.938 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3514, allocations: 7.938 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.3516, allocations: 176.6 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3516, allocations: 4 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3518, allocations: 23.97 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3518, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3518, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3518, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3518, allocations: 3.938 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.3523, allocations: 239.4 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.595e-05/0.3523, allocations: 4 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.3523, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.3524, allocations: 15.97 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.3525, allocations: 23.91 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.3525, allocations: 7.938 kB / 1.288 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.3526, allocations: 103.6 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3526, allocations: 4 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002428/0.3528, allocations: 11.95 kB / 1.289 GB, free: 6.148 MB / 0.9825 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 (sub.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.0008295/0.3537, allocations: 0.7622 MB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004214/0.3541, allocations: 111.8 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3541, allocations: 3.938 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.3543, allocations: 60.58 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.3546, allocations: 13.48 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.3569, allocations: 1.544 MB / 1.291 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3573, allocations: 0.6885 MB / 1.292 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.81e-05/0.3573, allocations: 15.98 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.3574, allocations: 31.42 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3574, allocations: 0 / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.3893, allocations: 2.835 MB / 1.294 GB, free: 92 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.51, allocations: 11.02 kB / 1.294 GB, free: 84 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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: 18.262213774956763]