Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 92.31 kB / 16.02 MB, free: 80 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.001582/0.001582, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.458/1.458, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.79/2.79, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 10.16 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.305, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002438/0.3075, allocations: 1.706 MB / 1.061 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3096, allocations: 1.173 MB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.3097, allocations: 0 / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.3102, allocations: 151.6 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.3106, allocations: 139.5 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.3112, allocations: 198.8 kB / 1.063 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.3116, allocations: 299.2 kB / 1.063 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.3118, allocations: 40.38 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.312, allocations: 127.3 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.3122, allocations: 139.4 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.3123, allocations: 8 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.3124, allocations: 51.91 kB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3126, allocations: 79.73 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.3127, allocations: 136.8 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.313, allocations: 279.5 kB / 1.064 GB, free: 452 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.313, allocations: 4 kB / 1.064 GB, free: 448 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.313, allocations: 0 / 1.064 GB, free: 448 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.3131, allocations: 0 / 1.064 GB, free: 448 kB / 0.8106 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.0009353/0.314, allocations: 0.5681 MB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.314, allocations: 16.02 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.938e-05/0.3142, allocations: 32.56 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005405/0.3147, allocations: 374.1 kB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3147, allocations: 7.984 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.3148, allocations: 8 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.315, allocations: 101.6 kB / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.315, allocations: 0 / 1.065 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.3151, allocations: 4 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3151, allocations: 4 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.3153, allocations: 59.95 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.3161, allocations: 0.4963 MB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.3164, allocations: 142.7 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3166, allocations: 52.77 kB / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3166, allocations: 0 / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.3169, allocations: 115.3 kB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.764e-06/0.3169, allocations: 0 / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.000537/0.3174, allocations: 221.3 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3175, allocations: 55.41 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/0.3181, allocations: 0.5054 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.3181, allocations: 33.7 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3182, allocations: 160.4 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.3183, allocations: 35.55 kB / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.3183, allocations: 41.69 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3185, allocations: 346.8 kB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.3187, allocations: 104.5 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3189, allocations: 131.6 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.3192, allocations: 184 kB / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3193, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005566/0.3198, allocations: 317.1 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3198, allocations: 8 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3199, allocations: 11.86 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3199, allocations: 4 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.3201, allocations: 47.92 kB / 1.068 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.3201, allocations: 7.984 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.3203, allocations: 23.89 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.3203, allocations: 11.98 kB / 1.068 GB, free: 12.01 MB / 0.8262 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.0001991/0.3205, allocations: 181.8 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.3206, allocations: 27.62 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.942e-05/0.3207, allocations: 39.06 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3207, allocations: 0 / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3207, allocations: 0 / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.3207, allocations: 4 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.321, allocations: 305.4 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.321, allocations: 4 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.3211, allocations: 15.98 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3211, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3211, allocations: 3.938 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3211, allocations: 4 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3211, allocations: 0 / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.3215, allocations: 215.9 kB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.3216, allocations: 112.7 kB / 1.069 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.613e-05/0.3216, allocations: 15.94 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3217, allocations: 7.984 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.3218, allocations: 15.98 kB / 1.069 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.3218, allocations: 11.94 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003267/0.3222, allocations: 315.1 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3222, allocations: 0 / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002969/0.3225, allocations: 55.98 kB / 1.069 GB, free: 10.61 MB / 0.8262 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.0009987/0.3235, allocations: 420.8 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.3239, allocations: 191.8 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3239, allocations: 0 / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.3241, allocations: 57.59 kB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.3246, allocations: 92.47 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.3255, allocations: 0.6418 MB / 1.07 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.3259, allocations: 0.7872 MB / 1.071 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.326, allocations: 35.42 kB / 1.071 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.326, allocations: 0 / 1.071 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of Templates: time 0.007604/0.3336, allocations: 4.321 MB / 1.075 GB, free: 4.199 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches