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.001416/0.001416, allocations: 108 kB / 15.61 MB, free: 152 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.00204/0.00204, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.452/2.452, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 65.81 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2467, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.002991/0.2497, allocations: 2.007 MB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001678/0.2514, allocations: 1.2 MB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.2515, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.2518, allocations: 159.4 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.2521, allocations: 147.4 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.2525, allocations: 230.4 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.2529, allocations: 307.2 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.253, allocations: 52.34 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.2532, allocations: 139.5 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.2534, allocations: 147.4 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.2534, allocations: 16 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2535, allocations: 63.91 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.2536, allocations: 83.73 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2537, allocations: 127.1 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.2541, allocations: 363 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.2541, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2541, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2541, allocations: 4 kB / 1.069 GB, free: 9.18 MB / 0.8262 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.0008049/0.2549, allocations: 0.6185 MB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.255, allocations: 12.03 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.255, allocations: 34.75 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.2551, allocations: 32.56 kB / 1.07 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.2555, allocations: 377.9 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.2555, allocations: 8 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.2556, allocations: 15.98 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.2558, allocations: 103.3 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.2558, allocations: 7.938 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2558, allocations: 4 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.2558, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.256, allocations: 63.89 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006807/0.2567, allocations: 0.4886 MB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.257, allocations: 138.7 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.2571, allocations: 48.83 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2571, allocations: 4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.2573, allocations: 116.5 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 2.905e-06/0.2573, allocations: 3.984 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004658/0.2578, allocations: 222 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.2579, allocations: 55.41 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.2584, allocations: 0.5131 MB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.2584, allocations: 25.7 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.2585, allocations: 160.5 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.2586, allocations: 47.53 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.2587, allocations: 69.88 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2588, allocations: 350.8 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.259, allocations: 96.52 kB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.2592, allocations: 139.6 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.2595, allocations: 184.2 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2595, allocations: 0 / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004891/0.26, allocations: 309.2 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.26, allocations: 7.938 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.26, allocations: 4 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2601, allocations: 0 / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.2603, allocations: 55.91 kB / 1.073 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2603, allocations: 8.047 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.2604, allocations: 23.83 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.2604, allocations: 8 kB / 1.073 GB, free: 4.633 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.000162/0.2606, allocations: 185.7 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.2606, allocations: 39.47 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.2607, allocations: 35.12 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.2607, allocations: 4 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2607, allocations: 0 / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2607, allocations: 0 / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.261, allocations: 305.4 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.261, allocations: 0 / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.2611, allocations: 11.98 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2611, allocations: 7.875 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2611, allocations: 11.94 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2611, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2611, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.2614, allocations: 210.5 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.341e-05/0.2615, allocations: 112.7 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.2616, allocations: 7.938 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.223e-05/0.2617, allocations: 7.984 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.2617, allocations: 19.98 kB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2617, allocations: 11.98 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003082/0.2621, allocations: 311.1 kB / 1.074 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2621, allocations: 0 / 1.074 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002512/0.2623, allocations: 59.89 kB / 1.074 GB, free: 3.227 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.001847/0.2642, allocations: 1.056 MB / 1.075 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000378/0.2646, allocations: 204.9 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2646, allocations: 128 / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.2647, allocations: 59.97 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.2651, allocations: 93.84 kB / 1.076 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.2685, allocations: 3.136 MB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.2689, allocations: 0.7831 MB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001208/0.269, allocations: 50.95 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2692, allocations: 115.4 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.2692, allocations: 3.938 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.2/7.47, allocations: 7.048 MB / 1.087 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/18.49, allocations: 7.734 kB / 1.087 GB, free: 6.809 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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