Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change",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.001392/0.001392, 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.001592/0.001592, allocations: 196.1 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.196/1.196, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001188, allocations: 63.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5198, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002779/0.5226, allocations: 1.988 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.524, allocations: 1.115 MB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.5241, allocations: 3.938 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002952/0.5244, allocations: 87.75 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.5246, allocations: 79.72 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.5249, allocations: 135.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000203/0.5251, allocations: 199.4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.5252, allocations: 49.64 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.5254, allocations: 83.62 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.5255, allocations: 107.5 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.5255, allocations: 8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.5256, allocations: 51.91 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.5257, allocations: 55.77 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.5258, allocations: 83.45 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.526, allocations: 261.4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.526, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5261, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.5261, allocations: 0 / 1.021 GB, free: 14.47 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007286/0.5268, allocations: 0.5414 MB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5268, allocations: 8.031 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.5269, allocations: 42.73 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.5269, allocations: 24.66 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.5272, allocations: 291.1 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.5273, allocations: 15.94 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.5273, allocations: 8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.5276, allocations: 116.4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5276, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.5276, allocations: 7.938 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5276, allocations: 4 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.5279, allocations: 87.92 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005977/0.5285, allocations: 448.5 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.5288, allocations: 126.7 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.5289, allocations: 64.75 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.529, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.5292, allocations: 129.9 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.5292, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0005853/0.5298, allocations: 245.2 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.5299, allocations: 55.41 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.5302, allocations: 330.5 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.5302, allocations: 33.7 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.5303, allocations: 140.3 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.5303, allocations: 43.53 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.5304, allocations: 61.61 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/0.5305, allocations: 330.8 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.5307, allocations: 87.94 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.5309, allocations: 133.1 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.5312, allocations: 181 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5313, allocations: 0 / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004815/0.5317, allocations: 283.2 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5318, allocations: 9.875 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5318, allocations: 3.938 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5318, allocations: 4 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.532, allocations: 44.06 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.532, allocations: 8 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.5321, allocations: 23.92 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.5322, allocations: 15.98 kB / 1.025 GB, free: 10.33 MB / 0.7794 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.0001208/0.5323, allocations: 154.3 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.5323, allocations: 23.66 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.596e-05/0.5324, allocations: 26.17 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.5324, allocations: 8 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5324, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.5324, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006836/0.5331, allocations: 0.5465 MB / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5331, allocations: 0 / 1.025 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.227e-05/0.5332, allocations: 23.92 kB / 1.025 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5332, allocations: 4 kB / 1.025 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.5332, allocations: 3.984 kB / 1.025 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5332, allocations: 4 kB / 1.025 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5332, allocations: 0 / 1.025 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.5336, allocations: 291.1 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.5337, allocations: 108.7 kB / 1.026 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.5337, allocations: 11.98 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.5339, allocations: 11.98 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.534, allocations: 15.98 kB / 1.026 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.534, allocations: 7.984 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001722/0.5342, allocations: 209.9 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5342, allocations: 4 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002809/0.5344, allocations: 47.98 kB / 1.026 GB, free: 8.754 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: 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.001406/0.5359, allocations: 1.132 MB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004087/0.5363, allocations: 190.3 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5363, allocations: 0 / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.5365, allocations: 79.88 kB / 1.028 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.5368, allocations: 48.41 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.5396, allocations: 2.598 MB / 1.03 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.5399, allocations: 0.756 MB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.063e-05/0.54, allocations: 37.91 kB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5401, allocations: 75.34 kB / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5401, allocations: 0 / 1.031 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.514/2.054, allocations: 5.048 MB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/2.054, allocations: 245.2 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/3.805, allocations: 0 / 1.036 GB, free: 14.67 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches