Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001598/0.001598, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001789/0.001789, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.634/1.634, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.6 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.88 kB / 1.107 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279/1.281, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002139/1.283, allocations: 0.754 MB / 1.273 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00167/1.285, allocations: 1.157 MB / 1.274 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/1.285, allocations: 5.312 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/1.285, allocations: 4.922 kB / 1.274 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/1.285, allocations: 9.969 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/1.285, allocations: 132.6 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000206/1.285, allocations: 121.1 kB / 1.274 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/1.286, allocations: 12.3 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/1.286, allocations: 42.16 kB / 1.274 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/1.286, allocations: 50.41 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/1.286, allocations: 14.19 kB / 1.274 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/1.286, allocations: 24.02 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/1.286, allocations: 13.83 kB / 1.274 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/1.286, allocations: 44.58 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/1.286, allocations: 121.2 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.286, allocations: 0 / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/1.286, allocations: 0 / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.643e-06/1.286, allocations: 4.969 kB / 1.274 GB, free: 6.324 MB / 0.9981 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.0005602/1.287, allocations: 407.7 kB / 1.275 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.287, allocations: 13.22 kB / 1.275 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/1.287, allocations: 6.875 kB / 1.275 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/1.287, allocations: 173.5 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/1.287, allocations: 5.531 kB / 1.275 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/1.287, allocations: 10.56 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/1.287, allocations: 59.83 kB / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/1.287, allocations: 192 / 1.275 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/1.287, allocations: 8.812 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.287, allocations: 0.9375 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/1.287, allocations: 45.19 kB / 1.275 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004891/1.288, allocations: 329 kB / 1.275 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/1.288, allocations: 57.34 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/1.288, allocations: 42.5 kB / 1.276 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/1.288, allocations: 0.6875 kB / 1.276 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002793/1.289, allocations: 83.06 kB / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/1.289, allocations: 0 / 1.276 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0004847/1.289, allocations: 148.8 kB / 1.276 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/1.289, allocations: 61.62 kB / 1.276 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/1.289, allocations: 122 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/1.289, allocations: 28.7 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/1.289, allocations: 92.92 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/1.289, allocations: 21.31 kB / 1.276 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/1.289, allocations: 37.83 kB / 1.276 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.421e-05/1.289, allocations: 319.6 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/1.29, allocations: 53.61 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/1.29, allocations: 88.59 kB / 1.277 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/1.29, allocations: 146.4 kB / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.29, allocations: 0 / 1.277 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004651/1.29, allocations: 211.5 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/1.291, allocations: 37.02 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/1.291, allocations: 5.719 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.291, allocations: 2.125 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.945e-05/1.291, allocations: 11.12 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/1.291, allocations: 1.859 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/1.291, allocations: 31.94 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/1.291, allocations: 7.094 kB / 1.277 GB, free: 4.184 MB / 0.9981 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 9.511e-05/1.291, allocations: 133.9 kB / 1.277 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/1.291, allocations: 8.5 kB / 1.277 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/1.291, allocations: 9.688 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.291, allocations: 1.406 kB / 1.277 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.291, allocations: 4.641 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.291, allocations: 0.5625 kB / 1.277 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/1.292, allocations: 381.8 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.292, allocations: 4.906 kB / 1.277 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/1.292, allocations: 12.61 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.292, allocations: 0.9375 kB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/1.292, allocations: 1.688 kB / 1.278 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.292, allocations: 0.9375 kB / 1.278 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.292, allocations: 0 / 1.278 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/1.292, allocations: 217.1 kB / 1.278 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/1.292, allocations: 85.44 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/1.292, allocations: 1.719 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.118e-05/1.292, allocations: 13.33 kB / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/1.292, allocations: 12.62 kB / 1.278 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/1.292, allocations: 6.406 kB / 1.278 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.748e-05/1.292, allocations: 90.8 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.292, allocations: 0.7188 kB / 1.278 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000269/1.292, allocations: 24.34 kB / 1.278 GB, free: 3.32 MB / 0.9981 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.0001595/1.293, allocations: 104.8 kB / 1.278 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003901/1.293, allocations: 161.6 kB / 1.278 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.293, allocations: 0 / 1.278 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/1.293, allocations: 35.12 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/1.293, allocations: 20.12 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/1.294, allocations: 178 kB / 1.278 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/1.294, allocations: 0.6899 MB / 1.279 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.464e-05/1.294, allocations: 3.906 kB / 1.279 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/1.294, allocations: 14.34 kB / 1.279 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.294, allocations: 0 / 1.279 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of Templates: time 0.006263/1.3, allocations: 1.458 MB / 1.281 GB, free: 2.141 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.828075467608869]