Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Equal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.004628/0.004628, allocations: 101.8 kB / 15.73 MB, free: 6.062 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.001309/0.001309, allocations: 192 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.709/2.709, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.91 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.705/0.7069, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003304/0.7103, allocations: 1.991 MB / 1.222 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.7123, allocations: 1.205 MB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.7124, allocations: 3.938 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004256/0.7129, allocations: 159.5 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.7132, allocations: 151.4 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.7138, allocations: 225.1 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.7142, allocations: 319.2 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.7143, allocations: 44.39 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.7145, allocations: 139.5 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.7148, allocations: 147.4 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.7148, allocations: 16 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.715, allocations: 63.95 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.7151, allocations: 83.69 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.7152, allocations: 131.2 kB / 1.225 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.7157, allocations: 366.1 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7157, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7157, allocations: 4 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.7157, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009301/0.7166, allocations: 0.6376 MB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.7167, allocations: 12.03 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.7167, allocations: 38.75 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.7168, allocations: 36.69 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.7173, allocations: 382.1 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.7173, allocations: 8 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.7174, allocations: 7.938 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.7176, allocations: 109.5 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7176, allocations: 0 / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.7177, allocations: 0 / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.7177, allocations: 11.98 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.7179, allocations: 55.97 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.7187, allocations: 0.4926 MB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.719, allocations: 130.7 kB / 1.227 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.7192, allocations: 56.83 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.7192, allocations: 4 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.7194, allocations: 112.7 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 3.657e-06/0.7194, allocations: 0 / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0005468/0.72, allocations: 224.3 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.7201, allocations: 59.34 kB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.7207, allocations: 0.5093 MB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.7207, allocations: 29.7 kB / 1.228 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.7209, allocations: 172.4 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.7209, allocations: 31.77 kB / 1.228 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.721, allocations: 73.95 kB / 1.228 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.7212, allocations: 346.8 kB / 1.228 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/0.7214, allocations: 100.5 kB / 1.229 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.7217, allocations: 139.6 kB / 1.229 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.722, allocations: 183 kB / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.722, allocations: 0 / 1.229 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006079/0.7227, allocations: 317.3 kB / 1.229 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.7227, allocations: 17.88 kB / 1.229 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7227, allocations: 0 / 1.229 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7227, allocations: 0 / 1.229 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.723, allocations: 55.91 kB / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.723, allocations: 0 / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.7231, allocations: 19.89 kB / 1.229 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.7232, allocations: 11.98 kB / 1.229 GB, free: 8.43 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001935/0.7234, allocations: 181.7 kB / 1.229 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.7234, allocations: 39.7 kB / 1.23 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.7235, allocations: 39.12 kB / 1.23 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7235, allocations: 4 kB / 1.23 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.7235, allocations: 0 / 1.23 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7235, allocations: 0 / 1.23 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.7238, allocations: 301.4 kB / 1.23 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7238, allocations: 3.938 kB / 1.23 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.7239, allocations: 15.92 kB / 1.23 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.7239, allocations: 7.922 kB / 1.23 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.724, allocations: 8 kB / 1.23 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.724, allocations: 4 kB / 1.23 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.724, allocations: 4 kB / 1.23 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.7244, allocations: 208.8 kB / 1.23 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.7245, allocations: 116.9 kB / 1.23 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.471e-05/0.7245, allocations: 7.984 kB / 1.23 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.7246, allocations: 4 kB / 1.23 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.7247, allocations: 19.97 kB / 1.23 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.7247, allocations: 8 kB / 1.23 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000366/0.7251, allocations: 319.1 kB / 1.231 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7251, allocations: 0 / 1.231 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002968/0.7254, allocations: 55.89 kB / 1.231 GB, free: 7.016 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002152/0.7276, allocations: 1.068 MB / 1.232 GB, free: 6.082 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004378/0.728, allocations: 192.1 kB / 1.232 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.728, allocations: 0 / 1.232 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.7282, allocations: 67.84 kB / 1.232 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.7287, allocations: 85.48 kB / 1.232 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.7327, allocations: 3.12 MB / 1.235 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.7332, allocations: 0.7909 MB / 1.236 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.7333, allocations: 50.94 kB / 1.236 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.7335, allocations: 107.4 kB / 1.236 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.7335, allocations: 0 / 1.236 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.7641, allocations: 7.143 MB / 1.243 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/9.284, allocations: 11.69 kB / 1.243 GB, free: 10.56 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches