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.00084/0.00084, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004736/0.004736, allocations: 172 kB / 16.27 MB, free: 6.652 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.276/2.276, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 12 kB / 0.873 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5235, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.001978/0.5255, allocations: 1.626 MB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.527, allocations: 1.08 MB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.5272, allocations: 11.94 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.5275, allocations: 87.75 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.5277, allocations: 83.72 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.5281, allocations: 139.5 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.5283, allocations: 203.4 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.5284, allocations: 45.61 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.5286, allocations: 87.55 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.5287, allocations: 91.55 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.5287, allocations: 4 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.5289, allocations: 47.97 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.5289, allocations: 51.81 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.529, allocations: 105.1 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.5293, allocations: 253.4 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5293, allocations: 7.875 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5293, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.5294, allocations: 0 / 1.027 GB, free: 11.96 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.0007337/0.5301, allocations: 0.4987 MB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5301, allocations: 12.03 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.5302, allocations: 46.73 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.5302, allocations: 24.66 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.5306, allocations: 295.1 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.5306, allocations: 8 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.5306, allocations: 8 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.5309, allocations: 128.4 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.5309, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.5309, allocations: 11.94 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5309, allocations: 7.938 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.5312, allocations: 95.92 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.5318, allocations: 460.4 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.5322, allocations: 134.6 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.5323, allocations: 64.81 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.5324, allocations: 4 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.5326, allocations: 135.4 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.5326, allocations: 0 / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006056/0.5332, allocations: 255.4 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.5333, allocations: 67.33 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.5336, allocations: 330.4 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.5337, allocations: 33.7 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.5337, allocations: 136.4 kB / 1.03 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.5338, allocations: 35.55 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.5338, allocations: 33.7 kB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5339, allocations: 342.8 kB / 1.03 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.5341, allocations: 79.95 kB / 1.03 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.5344, allocations: 133.1 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.5347, allocations: 205 kB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5348, allocations: 4 kB / 1.03 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00052/0.5353, allocations: 291.7 kB / 1.031 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.5353, allocations: 7.938 kB / 1.031 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.5353, allocations: 4 kB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.5353, allocations: 0 / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.5355, allocations: 47.91 kB / 1.031 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5355, allocations: 3.938 kB / 1.031 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.5357, allocations: 35.86 kB / 1.031 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.5357, allocations: 8 kB / 1.031 GB, free: 7.785 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.0001286/0.5358, allocations: 154.4 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.5359, allocations: 27.64 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.5359, allocations: 22.19 kB / 1.031 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.5359, allocations: 7.938 kB / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.536, allocations: 0 / 1.031 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.536, allocations: 3.984 kB / 1.031 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007276/0.5367, allocations: 0.5568 MB / 1.032 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5367, allocations: 0 / 1.032 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.5368, allocations: 23.92 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5368, allocations: 0 / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.5368, allocations: 11.94 kB / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5368, allocations: 0 / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5368, allocations: 0 / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.5373, allocations: 304.6 kB / 1.032 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.5374, allocations: 108.8 kB / 1.032 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.5374, allocations: 4 kB / 1.032 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.5375, allocations: 23.97 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.5376, allocations: 11.98 kB / 1.032 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.5376, allocations: 11.94 kB / 1.032 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000181/0.5378, allocations: 217.9 kB / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5378, allocations: 0 / 1.032 GB, free: 6.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002915/0.5381, allocations: 48 kB / 1.032 GB, free: 6.172 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.001466/0.5396, allocations: 1.158 MB / 1.033 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.54, allocations: 191.8 kB / 1.034 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.54, allocations: 0 / 1.034 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.5402, allocations: 79.89 kB / 1.034 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.5406, allocations: 61.92 kB / 1.034 GB, free: 4.824 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.5436, allocations: 2.634 MB / 1.036 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.5438, allocations: 0.7482 MB / 1.037 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.782e-05/0.544, allocations: 33.94 kB / 1.037 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.5441, allocations: 75.41 kB / 1.037 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.5441, allocations: 0 / 1.037 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.869/2.413, allocations: 4.832 MB / 1.042 GB, free: 12.5 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/2.413, allocations: 245.3 kB / 1.042 GB, free: 12.25 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.033/4.446, allocations: 10.12 kB / 1.042 GB, free: 12.25 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