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.001324/0.001324, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001603/0.001602, allocations: 194.7 kB / 16.25 MB, free: 6.633 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.607/2.607, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 59.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.6983, allocations: 140.4 MB / 0.9493 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003905/0.7023, allocations: 2.037 MB / 0.9512 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.7044, allocations: 1.176 MB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.7047, allocations: 1.344 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.7052, allocations: 150.9 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004487/0.7057, allocations: 144.2 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.7064, allocations: 199.6 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.7068, allocations: 312.5 kB / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.707, allocations: 59.02 kB / 0.9532 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.7073, allocations: 143.5 kB / 0.9534 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.7076, allocations: 151.6 kB / 0.9535 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.7077, allocations: 14.69 kB / 0.9535 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.7079, allocations: 56.23 kB / 0.9536 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.708, allocations: 98.88 kB / 0.9537 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.7082, allocations: 124.4 kB / 0.9538 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000495/0.7087, allocations: 364.5 kB / 0.9541 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7087, allocations: 0 / 0.9541 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7087, allocations: 5.5 kB / 0.9541 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.7087, allocations: 0 / 0.9541 GB, free: 5.465 MB / 0.7169 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.001245/0.71, allocations: 0.6134 MB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.71, allocations: 9.75 kB / 0.9547 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.7101, allocations: 41.28 kB / 0.9548 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.7102, allocations: 35.84 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.7108, allocations: 374.4 kB / 0.9552 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.7108, allocations: 8.656 kB / 0.9552 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.7108, allocations: 9.062 kB / 0.9552 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.7111, allocations: 112.9 kB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.7111, allocations: 3.938 kB / 0.9553 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.7112, allocations: 1.406 kB / 0.9553 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.7112, allocations: 5.391 kB / 0.9553 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.7113, allocations: 66.89 kB / 0.9554 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007872/0.7121, allocations: 495.6 kB / 0.9558 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.7125, allocations: 137.2 kB / 0.956 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.7126, allocations: 48.12 kB / 0.956 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.7126, allocations: 5.188 kB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.7129, allocations: 108.1 kB / 0.9561 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.7129, allocations: 0 / 0.9561 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005427/0.7134, allocations: 232.3 kB / 0.9563 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.7134, allocations: 52.56 kB / 0.9564 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000539/0.714, allocations: 0.5123 MB / 0.9569 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.714, allocations: 35.48 kB / 0.9569 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.7141, allocations: 165.2 kB / 0.9571 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.7142, allocations: 37.03 kB / 0.9571 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.7143, allocations: 69.38 kB / 0.9572 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.7143, allocations: 345.8 kB / 0.9575 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.7145, allocations: 100.9 kB / 0.9576 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.7147, allocations: 130.9 kB / 0.9577 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.7151, allocations: 190.7 kB / 0.9579 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7151, allocations: 0 / 0.9579 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000596/0.7157, allocations: 316.7 kB / 0.9582 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.7157, allocations: 8.719 kB / 0.9582 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7157, allocations: 1.312 kB / 0.9582 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.7158, allocations: 5.781 kB / 0.9582 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.716, allocations: 54.81 kB / 0.9583 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.716, allocations: 2.281 kB / 0.9583 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.7162, allocations: 21.33 kB / 0.9583 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.7163, allocations: 7.844 kB / 0.9583 GB, free: 2.238 MB / 0.7169 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.000163/0.7164, allocations: 179.3 kB / 0.9585 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.7165, allocations: 37.7 kB / 0.9585 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.203e-05/0.7166, allocations: 37.53 kB / 0.9586 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.7166, allocations: 2.281 kB / 0.9586 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7166, allocations: 0 / 0.9586 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.7166, allocations: 1.125 kB / 0.9586 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.7168, allocations: 300.5 kB / 0.9589 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7168, allocations: 0 / 0.9589 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.7169, allocations: 8.75 kB / 0.9589 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.7169, allocations: 5 kB / 0.9589 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.7169, allocations: 10.14 kB / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.717, allocations: 1.062 kB / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.717, allocations: 0 / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.7173, allocations: 213.2 kB / 0.9591 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.7174, allocations: 113.4 kB / 0.9592 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.7175, allocations: 6.188 kB / 0.9592 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.7176, allocations: 12.02 kB / 0.9592 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.7177, allocations: 15.64 kB / 0.9592 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.7177, allocations: 8.547 kB / 0.9592 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000372/0.7181, allocations: 315.6 kB / 0.9595 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7181, allocations: 0 / 0.9595 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003443/0.7184, allocations: 56.67 kB / 0.9596 GB, free: 1.266 MB / 0.7169 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.001495/0.7199, allocations: 1.074 MB / 0.9606 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.7204, allocations: 207.4 kB / 0.9608 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7204, allocations: 0 / 0.9608 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.7205, allocations: 58.94 kB / 0.9609 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.721, allocations: 93.7 kB / 0.961 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00454/0.7256, allocations: 3.195 MB / 0.9641 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.7259, allocations: 0.7822 MB / 0.9649 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001893/0.7261, allocations: 50.98 kB / 0.9649 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.7263, allocations: 107.4 kB / 0.965 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.7263, allocations: 0 / 0.965 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06928/0.7956, allocations: 6.909 MB / 0.9718 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/0.7959, allocations: 245.3 kB / 0.972 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.938, allocations: 0 / 0.972 GB, free: 9.707 MB / 0.7325 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) Reference file matches