Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 108 kB / 15.99 MB, free: 5.895 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.001519/0.001519, allocations: 193.4 kB / 16.91 MB, free: 5.746 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.41/1.41, allocations: 222.9 MB / 240.6 MB, free: 4.512 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.435/2.435, allocations: 390.2 MB / 0.665 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.89 kB / 0.8127 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7048/0.7063, allocations: 140.4 MB / 0.9498 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003459/0.7098, allocations: 1.976 MB / 0.9517 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.7112, allocations: 1.099 MB / 0.9528 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.7114, allocations: 5.656 kB / 0.9528 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.7117, allocations: 89.67 kB / 0.9529 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002127/0.712, allocations: 78.61 kB / 0.953 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.7123, allocations: 143.3 kB / 0.9531 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.7125, allocations: 211.5 kB / 0.9533 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.7127, allocations: 51.64 kB / 0.9533 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.7128, allocations: 105.3 kB / 0.9534 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.7129, allocations: 102.8 kB / 0.9535 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.713, allocations: 13.16 kB / 0.9536 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.7131, allocations: 63.36 kB / 0.9536 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.7132, allocations: 59.73 kB / 0.9537 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.234e-05/0.7133, allocations: 94.27 kB / 0.9538 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.7135, allocations: 202.6 kB / 0.954 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7135, allocations: 3.938 kB / 0.954 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.7135, allocations: 1.75 kB / 0.954 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.7135, allocations: 0 / 0.954 GB, free: 5.961 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000838/0.7144, allocations: 0.5409 MB / 0.9545 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.7144, allocations: 13.53 kB / 0.9545 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.7145, allocations: 24.62 kB / 0.9545 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.7148, allocations: 293.9 kB / 0.9548 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.7148, allocations: 8.625 kB / 0.9548 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.7149, allocations: 16.27 kB / 0.9548 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.7151, allocations: 114.4 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7152, allocations: 3.984 kB / 0.9549 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.7152, allocations: 5.031 kB / 0.9549 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.7152, allocations: 2.438 kB / 0.9549 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/0.7155, allocations: 90.48 kB / 0.955 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.7161, allocations: 444.3 kB / 0.9555 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.7165, allocations: 130.9 kB / 0.9556 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.7166, allocations: 55.66 kB / 0.9556 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.7167, allocations: 2.406 kB / 0.9556 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002719/0.7169, allocations: 144.5 kB / 0.9558 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.717, allocations: 0 / 0.9558 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006164/0.7176, allocations: 240 kB / 0.956 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.7176, allocations: 54.06 kB / 0.9561 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.7179, allocations: 330.3 kB / 0.9564 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.7179, allocations: 37.27 kB / 0.9564 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.718, allocations: 138.8 kB / 0.9565 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.718, allocations: 38.39 kB / 0.9566 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.7181, allocations: 63.78 kB / 0.9566 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.7182, allocations: 339.2 kB / 0.957 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.7184, allocations: 77.11 kB / 0.957 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.7186, allocations: 131.5 kB / 0.9572 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.719, allocations: 186.8 kB / 0.9573 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.719, allocations: 3.938 kB / 0.9573 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004952/0.7195, allocations: 273.8 kB / 0.9576 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.7195, allocations: 5.938 kB / 0.9576 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.7195, allocations: 9.578 kB / 0.9576 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.7195, allocations: 3.156 kB / 0.9576 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.7198, allocations: 41.98 kB / 0.9577 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.7198, allocations: 7.516 kB / 0.9577 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.7199, allocations: 25.02 kB / 0.9577 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.72, allocations: 7.219 kB / 0.9577 GB, free: 2.988 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001124/0.7201, allocations: 154.8 kB / 0.9578 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.7201, allocations: 33.78 kB / 0.9579 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.7202, allocations: 30.48 kB / 0.9579 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.7202, allocations: 1.312 kB / 0.9579 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7202, allocations: 0 / 0.9579 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7202, allocations: 1.281 kB / 0.9579 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.7209, allocations: 0.5512 MB / 0.9584 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7209, allocations: 4 kB / 0.9584 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.721, allocations: 17.55 kB / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.721, allocations: 1.375 kB / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.721, allocations: 1.375 kB / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.721, allocations: 1.375 kB / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.721, allocations: 0 / 0.9585 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.7214, allocations: 297.3 kB / 0.9588 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.7215, allocations: 106.1 kB / 0.9589 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.7215, allocations: 9.875 kB / 0.9589 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.7217, allocations: 12.39 kB / 0.9589 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.7217, allocations: 18.5 kB / 0.9589 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.7218, allocations: 11.91 kB / 0.9589 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001756/0.7219, allocations: 204.5 kB / 0.9591 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7219, allocations: 0 / 0.9591 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003172/0.7223, allocations: 56.23 kB / 0.9592 GB, free: 1.832 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009727/0.7232, allocations: 432 kB / 0.9596 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004799/0.7237, allocations: 192.2 kB / 0.9597 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7238, allocations: 0.6875 kB / 0.9597 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.7239, allocations: 77.55 kB / 0.9598 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.7244, allocations: 47.61 kB / 0.9599 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.725, allocations: 485.9 kB / 0.9603 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.7252, allocations: 0.7542 MB / 0.9611 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.7253, allocations: 25.52 kB / 0.9611 GB, free: 392 kB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7253, allocations: 0 / 0.9611 GB, free: 392 kB / 0.7169 GB Notification: Performance of Templates: time 0.006201/0.7315, allocations: 3.255 MB / 0.9643 GB, free: 14.7 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches