Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, 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.001418/0.001418, allocations: 193.1 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.534/2.534, allocations: 390.2 MB / 0.6647 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 63.91 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.9198, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002205/0.9221, allocations: 0.7709 MB / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.9231, allocations: 0.8682 MB / 0.9512 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.9232, allocations: 5.156 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.9232, allocations: 3.938 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.698e-05/0.9234, allocations: 9.438 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.9236, allocations: 37.83 kB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.9237, allocations: 87.78 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.9238, allocations: 25.67 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.739e-05/0.9239, allocations: 33.83 kB / 0.9514 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.319e-05/0.924, allocations: 56.02 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.9241, allocations: 8.75 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.9241, allocations: 7.219 kB / 0.9515 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.9241, allocations: 18.67 kB / 0.9515 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.9242, allocations: 42.53 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.9243, allocations: 82.62 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9243, allocations: 0 / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9243, allocations: 5.219 kB / 0.9516 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.9244, allocations: 0 / 0.9516 GB, free: 7.57 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.0006792/0.925, allocations: 399.2 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9251, allocations: 8.938 kB / 0.952 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.9251, allocations: 9.156 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.9253, allocations: 180.7 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.9253, allocations: 7.625 kB / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.9253, allocations: 3.719 kB / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.9257, allocations: 108.5 kB / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.9257, allocations: 0 / 0.9523 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.9257, allocations: 5.344 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.9257, allocations: 1.156 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.9261, allocations: 99.52 kB / 0.9524 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.9267, allocations: 353.4 kB / 0.9527 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.9273, allocations: 118.6 kB / 0.9528 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.9275, allocations: 58.47 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.9275, allocations: 1.062 kB / 0.9529 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.9276, allocations: 31.72 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.9276, allocations: 0 / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006965/0.9283, allocations: 179.8 kB / 0.9531 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.841e-05/0.9283, allocations: 56.97 kB / 0.9531 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.9284, allocations: 128.3 kB / 0.9533 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.9284, allocations: 27.14 kB / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.9285, allocations: 94.75 kB / 0.9534 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.9285, allocations: 25.88 kB / 0.9534 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.9286, allocations: 24.34 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.422e-05/0.9286, allocations: 324.3 kB / 0.9537 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.9288, allocations: 43.83 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.929, allocations: 49.11 kB / 0.9538 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.9294, allocations: 96.27 kB / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9294, allocations: 0 / 0.9539 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004696/0.9299, allocations: 136.2 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.9299, allocations: 5.344 kB / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9299, allocations: 0 / 0.9541 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.93, allocations: 3.938 kB / 0.9541 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001932/0.9302, allocations: 26.81 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.9302, allocations: 1.031 kB / 0.9541 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.9303, allocations: 20.62 kB / 0.9541 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.9303, allocations: 2.312 kB / 0.9541 GB, free: 5.332 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,intGre.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.0001376/0.9305, allocations: 121.3 kB / 0.9542 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.9305, allocations: 6.75 kB / 0.9542 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.9306, allocations: 13.86 kB / 0.9542 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.9306, allocations: 1.188 kB / 0.9542 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.9306, allocations: 4 kB / 0.9543 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.9306, allocations: 3.938 kB / 0.9543 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.9309, allocations: 195.8 kB / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.9309, allocations: 5.297 kB / 0.9544 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.9311, allocations: 30.09 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.9311, allocations: 0.9688 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.9311, allocations: 1.438 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9311, allocations: 0 / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9311, allocations: 1.5 kB / 0.9545 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/0.9316, allocations: 233.9 kB / 0.9547 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.9317, allocations: 79.55 kB / 0.9548 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.9317, allocations: 0 / 0.9548 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.9319, allocations: 20.88 kB / 0.9548 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.953e-05/0.932, allocations: 18.3 kB / 0.9548 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.932, allocations: 10.75 kB / 0.9548 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.841e-05/0.9321, allocations: 93.08 kB / 0.9549 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9321, allocations: 0 / 0.9549 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002531/0.9324, allocations: 23.56 kB / 0.9549 GB, free: 4.535 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 (intGre.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.0001944/0.9326, allocations: 104.8 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005759/0.9331, allocations: 111.6 kB / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9331, allocations: 0 / 0.9551 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.9334, allocations: 67.11 kB / 0.9552 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.9339, allocations: 9.938 kB / 0.9552 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.9345, allocations: 176.5 kB / 0.9554 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.9348, allocations: 0.695 MB / 0.9561 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.689e-05/0.9349, allocations: 11.19 kB / 0.9561 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.9349, allocations: 22.02 kB / 0.9561 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.9349, allocations: 0 / 0.9561 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of Templates: time 0.004926/0.9399, allocations: 1.582 MB / 0.9576 GB, free: 2.668 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches