Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_10_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_10_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.001779/0.001779, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002598/0.002598, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.569/1.569, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.866/2.866, allocations: 437 MB / 0.7099 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.89 kB / 0.8686 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7985/0.8006, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004403/0.805, allocations: 2.054 MB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002936/0.808, allocations: 1.193 MB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.8082, allocations: 3.938 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005285/0.8087, allocations: 155.6 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.8091, allocations: 139.5 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.8097, allocations: 203.5 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.8101, allocations: 295.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.8103, allocations: 44.38 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.8106, allocations: 131.3 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.8108, allocations: 147.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.8108, allocations: 11.98 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.811, allocations: 39.98 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.8111, allocations: 87.66 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.8113, allocations: 119.2 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.8117, allocations: 356.6 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.8117, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8118, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.8118, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 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.001186/0.813, allocations: 0.6303 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.813, allocations: 8.031 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.075e-05/0.8131, allocations: 36.47 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.8137, allocations: 366.2 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.8137, allocations: 8 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.8138, allocations: 8 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.814, allocations: 105.6 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8141, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.8141, allocations: 7.984 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/0.8141, allocations: 11.98 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.8143, allocations: 55.97 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009066/0.8152, allocations: 496.4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.8156, allocations: 138.8 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.8157, allocations: 48.83 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.8158, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.816, allocations: 115.3 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 5.721e-06/0.816, allocations: 4 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005654/0.8166, allocations: 224.7 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.8167, allocations: 55.41 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.8173, allocations: 0.5092 MB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.8173, allocations: 29.7 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.8175, allocations: 168.4 kB / 1.024 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.8175, allocations: 39.55 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.8176, allocations: 65.88 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.8178, allocations: 354.8 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.8181, allocations: 104.5 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.8183, allocations: 135.6 kB / 1.025 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.8186, allocations: 170.5 kB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8187, allocations: 4 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005639/0.8192, allocations: 318.7 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8193, allocations: 4 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.8193, allocations: 3.938 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.8193, allocations: 4 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.8195, allocations: 51.91 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.8196, allocations: 4 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.8197, allocations: 19.78 kB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.8198, allocations: 20.05 kB / 1.026 GB, free: 9.348 MB / 0.7794 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.0002179/0.82, allocations: 182.5 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.82, allocations: 27.62 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.462e-05/0.8201, allocations: 43.06 kB / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8201, allocations: 0 / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.8201, allocations: 0 / 1.026 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.8201, allocations: 3.984 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.8205, allocations: 301.4 kB / 1.026 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8205, allocations: 3.938 kB / 1.026 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.8206, allocations: 23.92 kB / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8206, allocations: 0 / 1.026 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.8206, allocations: 7.938 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8206, allocations: 4 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8206, allocations: 0 / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.821, allocations: 200.7 kB / 1.026 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.8212, allocations: 112.7 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.8212, allocations: 15.94 kB / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.8213, allocations: 0 / 1.027 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.8214, allocations: 19.97 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.8214, allocations: 19.94 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003759/0.8218, allocations: 315.1 kB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8218, allocations: 0 / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003053/0.8221, allocations: 52 kB / 1.027 GB, free: 7.949 MB / 0.7794 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.001749/0.8239, allocations: 420.5 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.8244, allocations: 189.7 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.8244, allocations: 0 / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.8245, allocations: 75.81 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.825, allocations: 71.25 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.826, allocations: 0.6031 MB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.8265, allocations: 0.7831 MB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000163/0.8267, allocations: 58.94 kB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.8268, allocations: 35.42 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.8268, allocations: 0 / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of Templates: time 0.009257/0.8361, allocations: 3.867 MB / 1.033 GB, free: 2.004 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches