Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_9_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.01/0.01, allocations: 107.1 kB / 15.74 MB, free: 5.582 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.001879/0.001879, allocations: 197.1 kB / 16.67 MB, free: 5.508 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.206/2.206, allocations: 390.3 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.911/0.9125, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003079/0.9156, allocations: 1.991 MB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.9173, allocations: 1.197 MB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.9175, allocations: 6.938 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.9179, allocations: 151.7 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.9183, allocations: 160.5 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.9189, allocations: 226.3 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003833/0.9193, allocations: 312 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.9194, allocations: 56.14 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.9197, allocations: 151.8 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002087/0.9199, allocations: 148.8 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.9199, allocations: 14.28 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.9201, allocations: 56.8 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.9202, allocations: 93.88 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.9203, allocations: 124 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.9208, allocations: 367.8 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9208, allocations: 0.6562 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9208, allocations: 4 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.9208, allocations: 4.5 kB / 1.092 GB, free: 2.25 MB / 0.8575 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.000908/0.9217, allocations: 0.6145 MB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.9218, allocations: 8.938 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.9218, allocations: 40.09 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.9219, allocations: 31.31 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.9224, allocations: 379.4 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.9224, allocations: 12.5 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.9225, allocations: 9.75 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.9227, allocations: 110.5 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.9227, allocations: 0 / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.9228, allocations: 1.516 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.9228, allocations: 3.078 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.923, allocations: 57.3 kB / 1.094 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007856/0.9238, allocations: 0.4958 MB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.9241, allocations: 135.6 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.9242, allocations: 50.36 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.9243, allocations: 2.594 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.9245, allocations: 113.2 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.9245, allocations: 0 / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005418/0.9251, allocations: 225.8 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.9251, allocations: 52.88 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.9258, allocations: 0.5096 MB / 1.095 GB, free: 384 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.9258, allocations: 31.77 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/0.9259, allocations: 163.6 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.9259, allocations: 41.08 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/0.926, allocations: 71.39 kB / 1.095 GB, free: 132 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.9262, allocations: 348.3 kB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.9264, allocations: 101.3 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.9266, allocations: 132.3 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003754/0.927, allocations: 189 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.927, allocations: 0 / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006304/0.9277, allocations: 317 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.9277, allocations: 9.688 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9277, allocations: 1.484 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9277, allocations: 2.219 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.928, allocations: 53.55 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.928, allocations: 2.766 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.9281, allocations: 18.97 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.9282, allocations: 13.62 kB / 1.097 GB, free: 15.46 MB / 0.8731 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.0002007/0.9284, allocations: 180.3 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.9285, allocations: 39.41 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.616e-05/0.9285, allocations: 33.38 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.9285, allocations: 1.344 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9286, allocations: 4.688 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.9286, allocations: 1.953 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.9289, allocations: 303.3 kB / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.929, allocations: 0 / 1.097 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.929, allocations: 16 kB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.929, allocations: 5 kB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.9291, allocations: 3.703 kB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.9291, allocations: 1.094 kB / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.9291, allocations: 0 / 1.097 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003904/0.9295, allocations: 215.2 kB / 1.097 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.9296, allocations: 119.8 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.9296, allocations: 3.516 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.9297, allocations: 9.703 kB / 1.097 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.9298, allocations: 16.97 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.9298, allocations: 5.828 kB / 1.097 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004223/0.9303, allocations: 314.8 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9303, allocations: 4 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003043/0.9306, allocations: 59.22 kB / 1.098 GB, free: 14.61 MB / 0.8731 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.001635/0.9322, allocations: 1.056 MB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004137/0.9327, allocations: 190.6 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9327, allocations: 1 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.9328, allocations: 67.59 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.9333, allocations: 89.86 kB / 1.099 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004221/0.9375, allocations: 3.106 MB / 1.102 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.9379, allocations: 0.7815 MB / 1.103 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.9381, allocations: 53.41 kB / 1.103 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.9383, allocations: 108.4 kB / 1.103 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9383, allocations: 0 / 1.103 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/1.08, allocations: 7.283 MB / 1.11 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/9.28, allocations: 14.28 kB / 1.11 GB, free: 10.2 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,intEqu.u1,intEqu.u2,intEqu.y Variables in the result:intEqu.u1,intEqu.u2,intEqu.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,timTabLin.extrapolation,timTabLin.offset[1],timTabLin.smoothness,timTabLin.table[1,1],timTabLin.table[1,2],timTabLin.table[2,1],timTabLin.table[2,2],timTabLin.table[3,1],timTabLin.table[3,2],timTabLin.table[4,1],timTabLin.table[4,2],timTabLin.table[5,1],timTabLin.table[5,2],timTabLin.timeScale,timTabLin.y[1],timTabLin1.extrapolation,timTabLin1.offset[1],timTabLin1.smoothness,timTabLin1.table[1,1],timTabLin1.table[1,2],timTabLin1.table[2,1],timTabLin1.table[2,2],timTabLin1.table[3,1],timTabLin1.table[3,2],timTabLin1.table[4,1],timTabLin1.table[4,2],timTabLin1.table[5,1],timTabLin1.table[5,2],timTabLin1.timeScale,timTabLin1.y[1],time