Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 101.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.514/1.514, allocations: 230.6 MB / 252.8 MB, free: 9.148 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.214/3.214, allocations: 0.49 GB / 0.7916 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 63.17 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3776, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004108/0.3817, allocations: 1.961 MB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002572/0.3843, allocations: 1.282 MB / 1.324 GB, free: 96 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.3844, allocations: 3.938 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.3848, allocations: 95.67 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.3853, allocations: 143.4 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.3857, allocations: 127.5 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.3861, allocations: 219.4 kB / 1.325 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.3863, allocations: 37.88 kB / 1.325 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.3865, allocations: 119.5 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.3868, allocations: 107.6 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.575e-05/0.3869, allocations: 12 kB / 1.325 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.3871, allocations: 59.91 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.3872, allocations: 63.81 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.3874, allocations: 87.42 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.3879, allocations: 278.8 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3879, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3879, allocations: 4 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.3879, allocations: 0 / 1.325 GB, free: 14.76 MB / 1.029 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.001212/0.3891, allocations: 0.5566 MB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.3892, allocations: 11.98 kB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.239e-05/0.3892, allocations: 42.73 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.275e-05/0.3893, allocations: 28.75 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.3898, allocations: 295.1 kB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.3898, allocations: 16 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3898, allocations: 15.98 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.3902, allocations: 117.6 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3902, allocations: 3.938 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3903, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3903, allocations: 0 / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.3906, allocations: 91.91 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.3917, allocations: 460.4 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.3921, allocations: 122.6 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3923, allocations: 52.83 kB / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3923, allocations: 0 / 1.327 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.3926, allocations: 123.5 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.3926, allocations: 0 / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007065/0.3933, allocations: 253.3 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3934, allocations: 55.39 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.3938, allocations: 338.6 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.3938, allocations: 29.7 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.394, allocations: 144.4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.394, allocations: 47.67 kB / 1.328 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.3941, allocations: 61.66 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002387/0.3944, allocations: 330.8 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.3947, allocations: 91.94 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.395, allocations: 129.1 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.3954, allocations: 199.1 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3954, allocations: 0 / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006745/0.3961, allocations: 284.3 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3961, allocations: 4 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3961, allocations: 4 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3961, allocations: 4 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.3963, allocations: 39.91 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3963, allocations: 4 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.3965, allocations: 19.94 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.3965, allocations: 15.97 kB / 1.329 GB, free: 10.56 MB / 1.029 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.0001709/0.3967, allocations: 171.3 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.3967, allocations: 23.86 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.3968, allocations: 26.17 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3968, allocations: 4 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3968, allocations: 0 / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3968, allocations: 0 / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.3977, allocations: 0.5552 MB / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3977, allocations: 0 / 1.33 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.265e-05/0.3978, allocations: 19.98 kB / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3978, allocations: 0 / 1.33 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3978, allocations: 4 kB / 1.33 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3978, allocations: 4 kB / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3978, allocations: 0 / 1.33 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.3983, allocations: 307.1 kB / 1.33 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3984, allocations: 101 kB / 1.33 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.3984, allocations: 4 kB / 1.33 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.3986, allocations: 11.98 kB / 1.33 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.3987, allocations: 19.97 kB / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3987, allocations: 11.94 kB / 1.33 GB, free: 9.215 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002684/0.3989, allocations: 206 kB / 1.331 GB, free: 9.016 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3989, allocations: 4 kB / 1.331 GB, free: 9.012 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003252/0.3993, allocations: 55.92 kB / 1.331 GB, free: 8.957 MB / 1.029 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.002301/0.4016, allocations: 1.153 MB / 1.332 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.4021, allocations: 171.8 kB / 1.332 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4021, allocations: 0 / 1.332 GB, free: 7.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.4023, allocations: 67.89 kB / 1.332 GB, free: 7.707 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.4027, allocations: 46.58 kB / 1.332 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.4064, allocations: 2.629 MB / 1.335 GB, free: 4.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.4068, allocations: 0.7558 MB / 1.335 GB, free: 4.141 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.4069, allocations: 25.95 kB / 1.335 GB, free: 4.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.407, allocations: 79.39 kB / 1.335 GB, free: 4.039 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.407, allocations: 3.938 kB / 1.335 GB, free: 4.035 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03133/0.4384, allocations: 5.553 MB / 1.341 GB, free: 14.56 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.792, allocations: 10.06 kB / 1.341 GB, free: 14.55 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Integers_Validation_Change.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.638045020168647]