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.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: "" <> 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.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.562/2.562, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 68.09 kB / 0.8694 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6246/0.6259, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003659/0.6296, allocations: 1.923 MB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.6316, allocations: 1.123 MB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.6318, allocations: 3.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.6321, allocations: 91.62 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.6324, allocations: 99.52 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.6328, allocations: 157.8 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.633, allocations: 215.4 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.6332, allocations: 49.64 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.6333, allocations: 95.56 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.6335, allocations: 111.6 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.6335, allocations: 15.94 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.6336, allocations: 51.97 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.6337, allocations: 55.83 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.242e-05/0.6338, allocations: 91.34 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.6341, allocations: 265.4 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.6342, allocations: 7.938 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6342, allocations: 0 / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.6342, allocations: 0 / 1.022 GB, free: 14.13 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.0009221/0.6351, allocations: 0.5375 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.6351, allocations: 8.031 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/0.6352, allocations: 42.75 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.6353, allocations: 24.66 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.6356, allocations: 295.1 kB / 1.023 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.6356, allocations: 8 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.6357, allocations: 8 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.6359, allocations: 114.2 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.636, allocations: 4 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.636, allocations: 15.92 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.636, allocations: 3.938 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002819/0.6363, allocations: 88.61 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006591/0.6369, allocations: 444.5 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.6373, allocations: 134.6 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.6374, allocations: 52.81 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.6375, allocations: 12 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.6378, allocations: 129.5 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.6378, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.000632/0.6384, allocations: 241.2 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.6385, allocations: 63.41 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.6388, allocations: 326.5 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.6388, allocations: 33.7 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.6389, allocations: 140.3 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.639, allocations: 35.55 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.6391, allocations: 57.69 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.6392, allocations: 342.8 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.6394, allocations: 83.95 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.6396, allocations: 129.6 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003613/0.64, allocations: 192.1 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.64, allocations: 0 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005331/0.6406, allocations: 285.2 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6406, allocations: 9.5 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6406, allocations: 0 / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6406, allocations: 11.92 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.6408, allocations: 39.92 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.6408, allocations: 0 / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.641, allocations: 31.91 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.641, allocations: 12 kB / 1.025 GB, free: 9.984 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.0001666/0.6412, allocations: 157.8 kB / 1.026 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.6412, allocations: 23.66 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.6413, allocations: 30.17 kB / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6413, allocations: 0 / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6413, allocations: 0 / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6413, allocations: 0 / 1.026 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007603/0.6421, allocations: 0.5543 MB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6421, allocations: 0 / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.6422, allocations: 15.98 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.6422, allocations: 0 / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.6422, allocations: 8 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6422, allocations: 0 / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6422, allocations: 0 / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004591/0.6427, allocations: 299 kB / 1.026 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.6428, allocations: 108.8 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.491e-05/0.6428, allocations: 0 / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.643, allocations: 15.98 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.643, allocations: 19.97 kB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.6431, allocations: 4 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001974/0.6433, allocations: 213.9 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6433, allocations: 4 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002997/0.6436, allocations: 43.98 kB / 1.027 GB, free: 8.414 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.001583/0.6452, allocations: 1.153 MB / 1.028 GB, free: 7.398 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004604/0.6456, allocations: 194.9 kB / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6457, allocations: 0 / 1.028 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.6458, allocations: 67.89 kB / 1.028 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.6463, allocations: 62.7 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.6494, allocations: 2.56 MB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.6498, allocations: 0.7519 MB / 1.032 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.6499, allocations: 29.94 kB / 1.032 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.6501, allocations: 75.41 kB / 1.032 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of SimCode: time 2.194e-06/0.6501, allocations: 4 kB / 1.032 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/0.8476, allocations: 5.331 MB / 1.037 GB, free: 14.29 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/9.031, allocations: 6.984 kB / 1.037 GB, free: 14.29 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