Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_11_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.002008/0.002008, 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.002267/0.002267, allocations: 195 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.516/2.516, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0026/0.0026, allocations: 63.97 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2435, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.002932/0.2464, allocations: 1.924 MB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.248, allocations: 1.126 MB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.2481, allocations: 0 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.2484, allocations: 99.5 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.2486, allocations: 87.59 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.2489, allocations: 168.8 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.2492, allocations: 215.5 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2493, allocations: 45.66 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.2494, allocations: 95.61 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.2496, allocations: 103.6 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.2496, allocations: 16 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2497, allocations: 63.89 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.2498, allocations: 51.83 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.714e-05/0.2499, allocations: 91.41 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.2502, allocations: 263.4 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2502, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2502, allocations: 0 / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2502, allocations: 4 kB / 1.068 GB, free: 9.867 MB / 0.8262 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.0007596/0.251, allocations: 0.5451 MB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.251, allocations: 8.031 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.251, allocations: 46.73 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.2511, allocations: 24.66 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.2514, allocations: 283.3 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.2514, allocations: 8 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.2515, allocations: 8 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.2517, allocations: 121.5 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.2517, allocations: 0 / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2518, allocations: 11.94 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2518, allocations: 4 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.252, allocations: 79.92 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.2527, allocations: 464.3 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.253, allocations: 122.7 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2531, allocations: 56.81 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.2532, allocations: 8 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.2534, allocations: 129.3 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.2534, allocations: 0 / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005777/0.254, allocations: 241.2 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.2541, allocations: 63.41 kB / 1.07 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.2544, allocations: 326.5 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2544, allocations: 33.7 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.2545, allocations: 132.4 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.2545, allocations: 47.47 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.2546, allocations: 61.59 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.2548, allocations: 334.8 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.2549, allocations: 87.95 kB / 1.071 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.2552, allocations: 130.3 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.2555, allocations: 185.8 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2556, allocations: 4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000516/0.2561, allocations: 282.2 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2561, allocations: 4 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2561, allocations: 0 / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.2561, allocations: 4 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2563, allocations: 43.91 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2563, allocations: 0 / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.2565, allocations: 27.88 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.2565, allocations: 15.98 kB / 1.072 GB, free: 5.73 MB / 0.8262 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.000137/0.2566, allocations: 161.7 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.2567, allocations: 23.66 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.2567, allocations: 30.17 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2567, allocations: 7.938 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2567, allocations: 0 / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2567, allocations: 0 / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.2575, allocations: 0.55 MB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2575, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.2576, allocations: 19.92 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2576, allocations: 3.984 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2576, allocations: 4 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2576, allocations: 7.984 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2576, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.258, allocations: 297.2 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.2581, allocations: 96.92 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2582, allocations: 3.984 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.2583, allocations: 15.98 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.2584, allocations: 15.98 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.2584, allocations: 7.984 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001893/0.2586, allocations: 213.9 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2586, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000278/0.2589, allocations: 55.89 kB / 1.074 GB, free: 4.141 MB / 0.8262 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.002048/0.2609, allocations: 1.131 MB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.2614, allocations: 205 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2614, allocations: 0 / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.2616, allocations: 67.89 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.2619, allocations: 53.19 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.2649, allocations: 2.57 MB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.2652, allocations: 0.7519 MB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.757e-05/0.2653, allocations: 33.92 kB / 1.078 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.2654, allocations: 71.41 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.2654, allocations: 4 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.125/4.39, allocations: 5.339 MB / 1.084 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.76/27.15, allocations: 11.89 kB / 1.084 GB, free: 10.01 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches