Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_latest_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.001053/0.001053, allocations: 108 kB / 15.61 MB, free: 152 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.00111/0.00111, allocations: 195.1 kB / 16.53 MB, free: 6.699 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.222/1.222, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.475/2.475, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.08 kB / 0.8992 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.24, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00323/0.2433, allocations: 1.939 MB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.245, allocations: 1.119 MB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2452, allocations: 7.875 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.2455, allocations: 91.62 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002378/0.2458, allocations: 99.52 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003579/0.2461, allocations: 155.6 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000233/0.2464, allocations: 207.5 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.2465, allocations: 53.64 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.2467, allocations: 103.5 kB / 1.057 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.2468, allocations: 99.59 kB / 1.057 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.2468, allocations: 12 kB / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.247, allocations: 51.98 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.247, allocations: 63.75 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.2471, allocations: 95.41 kB / 1.057 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.2474, allocations: 263.4 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.2474, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2474, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2474, allocations: 0 / 1.057 GB, free: 3.945 MB / 0.8106 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.0007727/0.2482, allocations: 0.5297 MB / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.2483, allocations: 8.625 kB / 1.058 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.2483, allocations: 46.67 kB / 1.058 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.2484, allocations: 36.5 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.2487, allocations: 283.3 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.2487, allocations: 8 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.2487, allocations: 15.94 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.249, allocations: 119.6 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.249, allocations: 0 / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.249, allocations: 3.938 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2491, allocations: 4 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.2493, allocations: 87.92 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.2499, allocations: 452.3 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.2503, allocations: 134.6 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.2504, allocations: 52.83 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.2504, allocations: 4 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.2507, allocations: 131.4 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.2507, allocations: 0 / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0005847/0.2513, allocations: 247.4 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2513, allocations: 55.41 kB / 1.059 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.2516, allocations: 326.5 kB / 1.06 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2517, allocations: 37.7 kB / 1.06 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.531e-05/0.2518, allocations: 144.4 kB / 1.06 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.2518, allocations: 31.55 kB / 1.06 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.2519, allocations: 61.61 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.252, allocations: 338.8 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.2522, allocations: 83.94 kB / 1.06 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.2524, allocations: 137.5 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.2528, allocations: 194.6 kB / 1.061 GB, free: 180 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2528, allocations: 0 / 1.061 GB, free: 180 kB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005091/0.2533, allocations: 273.1 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2533, allocations: 4 kB / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2533, allocations: 0 / 1.061 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2533, allocations: 8.156 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001831/0.2535, allocations: 47.91 kB / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.2535, allocations: 0 / 1.061 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.2537, allocations: 23.89 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.2537, allocations: 11.98 kB / 1.061 GB, free: 15.81 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.0001278/0.2539, allocations: 165.7 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.2539, allocations: 19.75 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.2539, allocations: 30.17 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.254, allocations: 4 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.254, allocations: 0 / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.254, allocations: 0 / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.2547, allocations: 0.5527 MB / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2547, allocations: 0 / 1.062 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.2548, allocations: 19.98 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2548, allocations: 0 / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2548, allocations: 7.984 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2548, allocations: 0 / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2548, allocations: 3.938 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.2552, allocations: 294 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.2553, allocations: 100.8 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.2554, allocations: 4 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2555, allocations: 15.97 kB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.2556, allocations: 19.98 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.2556, allocations: 4 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001774/0.2558, allocations: 213.9 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2558, allocations: 0 / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002967/0.2561, allocations: 51.91 kB / 1.062 GB, free: 14.22 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.001453/0.2575, allocations: 1.142 MB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000443/0.258, allocations: 197.6 kB / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.258, allocations: 0 / 1.064 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.2582, allocations: 67.91 kB / 1.064 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.2586, allocations: 60.7 kB / 1.064 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.2614, allocations: 2.565 MB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.2617, allocations: 0.7558 MB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.815e-05/0.2618, allocations: 37.92 kB / 1.067 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.2619, allocations: 71.41 kB / 1.067 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2619, allocations: 0 / 1.067 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.128/1.39, allocations: 5.331 MB / 1.072 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/8.921, allocations: 17.08 kB / 1.072 GB, free: 4.102 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches