Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 108 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002343/0.002343, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 443.5 MB / 0.7287 GB, free: 13.37 MB / 0.5919 GB " [Timeout remaining time 177] 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.Logical.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 67.89 kB / 1.056 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8954/0.8973, allocations: 160.7 MB / 1.213 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002228/0.8995, allocations: 0.7598 MB / 1.214 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.9013, allocations: 1.161 MB / 1.215 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.071e-05/0.9014, allocations: 0 / 1.215 GB, free: 2.359 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.9014, allocations: 7.938 kB / 1.215 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.411e-05/0.9015, allocations: 6.188 kB / 1.215 GB, free: 2.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.902, allocations: 134.3 kB / 1.215 GB, free: 2.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.9023, allocations: 121.6 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.9023, allocations: 12.58 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.9025, allocations: 47.75 kB / 1.215 GB, free: 2.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.9026, allocations: 55.16 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.9026, allocations: 10.5 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.537e-05/0.9027, allocations: 24.52 kB / 1.215 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.837e-05/0.9027, allocations: 11.36 kB / 1.215 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.9028, allocations: 48.39 kB / 1.215 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.903, allocations: 110.1 kB / 1.215 GB, free: 1.977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.903, allocations: 1 kB / 1.215 GB, free: 1.977 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.774e-06/0.903, allocations: 0 / 1.215 GB, free: 1.977 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.903, allocations: 0 / 1.215 GB, free: 1.977 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006439/0.9037, allocations: 413.7 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.9037, allocations: 9.938 kB / 1.216 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.9037, allocations: 39.7 kB / 1.216 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.9038, allocations: 10.3 kB / 1.216 GB, free: 1.496 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.9039, allocations: 171.7 kB / 1.216 GB, free: 1.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.9039, allocations: 8.094 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.904, allocations: 7.312 kB / 1.216 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.9042, allocations: 63.31 kB / 1.216 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.9042, allocations: 5.094 kB / 1.216 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.9042, allocations: 0 / 1.216 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.9042, allocations: 1.312 kB / 1.216 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.9044, allocations: 47.05 kB / 1.216 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.9049, allocations: 342.8 kB / 1.216 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.9051, allocations: 56.39 kB / 1.216 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.9052, allocations: 32.62 kB / 1.217 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.9052, allocations: 0 / 1.217 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.9054, allocations: 96.05 kB / 1.217 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.9054, allocations: 0 / 1.217 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004338/0.9058, allocations: 143.5 kB / 1.217 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.9059, allocations: 57.3 kB / 1.217 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.906, allocations: 119.9 kB / 1.217 GB, free: 460 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.906, allocations: 28.8 kB / 1.217 GB, free: 428 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.9061, allocations: 95.91 kB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.9061, allocations: 15.14 kB / 1.217 GB, free: 320 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.732e-05/0.9062, allocations: 36.64 kB / 1.217 GB, free: 292 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.9063, allocations: 329 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.9065, allocations: 51.44 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.9067, allocations: 87.78 kB / 1.218 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.907, allocations: 145.2 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.907, allocations: 0 / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004588/0.9074, allocations: 214.7 kB / 1.218 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.9075, allocations: 45.45 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9075, allocations: 1.062 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.9075, allocations: 2.344 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.9076, allocations: 11.95 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.9076, allocations: 1.219 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.9078, allocations: 32.73 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.9078, allocations: 10.62 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001115/0.9079, allocations: 132.2 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/0.9079, allocations: 7.516 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.908, allocations: 17.39 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.908, allocations: 1.062 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.908, allocations: 1.25 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.908, allocations: 0 / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.9085, allocations: 371.2 kB / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9085, allocations: 4 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.9085, allocations: 9.938 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.9085, allocations: 0.8438 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.9085, allocations: 8.703 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9085, allocations: 0.75 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9085, allocations: 0 / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.9089, allocations: 212.8 kB / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.9089, allocations: 83.25 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.9089, allocations: 1.094 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.754e-05/0.909, allocations: 12.36 kB / 1.219 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.9091, allocations: 7.094 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.9091, allocations: 6.094 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.524e-05/0.9091, allocations: 91.95 kB / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9091, allocations: 0 / 1.219 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002646/0.9094, allocations: 25.12 kB / 1.219 GB, free: 14.64 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006756/0.9101, allocations: 0.7511 MB / 1.22 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.9104, allocations: 167.5 kB / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9104, allocations: 0 / 1.22 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.9106, allocations: 41.94 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.9108, allocations: 9.562 kB / 1.22 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.913, allocations: 1.697 MB / 1.222 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.9134, allocations: 0.6918 MB / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.9134, allocations: 4.469 kB / 1.222 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.9134, allocations: 18.78 kB / 1.222 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.9134, allocations: 1.062 kB / 1.222 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.9381, allocations: 2.561 MB / 1.225 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.98/8.918, allocations: 12.31 kB / 1.225 GB, free: 10.19 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.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: 14.849434248171747]