Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00761/0.00761, allocations: 101.6 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 194.2 kB / 16.79 MB, free: 5.809 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.2 MB / 0.6649 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.6047, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002282/0.607, allocations: 0.8064 MB / 0.9504 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.6087, allocations: 1.165 MB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.6087, allocations: 0 / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.888e-05/0.6088, allocations: 2 kB / 0.9515 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.065e-05/0.6089, allocations: 3.938 kB / 0.9515 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.6095, allocations: 129.7 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.6096, allocations: 107.7 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.6097, allocations: 10.88 kB / 0.9518 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.6099, allocations: 39.16 kB / 0.9518 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.808e-05/0.61, allocations: 42.81 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.61, allocations: 5.5 kB / 0.9518 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.6101, allocations: 28.3 kB / 0.9519 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.6102, allocations: 10.73 kB / 0.9519 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.014e-05/0.6103, allocations: 36.22 kB / 0.9519 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.6105, allocations: 73.72 kB / 0.952 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.6105, allocations: 5.375 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6105, allocations: 0 / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.6105, allocations: 0 / 0.952 GB, free: 7.254 MB / 0.7169 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.0006649/0.6112, allocations: 407.9 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.6112, allocations: 8.25 kB / 0.9524 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.6113, allocations: 14.34 kB / 0.9524 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.965e-05/0.6114, allocations: 184.3 kB / 0.9526 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.6114, allocations: 7.125 kB / 0.9526 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.6115, allocations: 7.25 kB / 0.9526 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.6117, allocations: 59.8 kB / 0.9527 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6117, allocations: 4.172 kB / 0.9527 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.6117, allocations: 5.656 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.6117, allocations: 0 / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.6119, allocations: 47.31 kB / 0.9527 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.6125, allocations: 319.9 kB / 0.953 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.6127, allocations: 66.3 kB / 0.9531 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.6128, allocations: 41.64 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.6128, allocations: 0 / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.6131, allocations: 88.86 kB / 0.9532 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.6131, allocations: 3.938 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004505/0.6135, allocations: 146.8 kB / 0.9533 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.6136, allocations: 53.75 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.6136, allocations: 115.4 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.6137, allocations: 36.41 kB / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.6137, allocations: 92.42 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.6137, allocations: 18.78 kB / 0.9536 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.6138, allocations: 40.47 kB / 0.9537 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.892e-05/0.6139, allocations: 321.5 kB / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.6141, allocations: 51.8 kB / 0.954 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.6142, allocations: 83.75 kB / 0.9541 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.6145, allocations: 148.2 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6145, allocations: 5.125 kB / 0.9543 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000453/0.615, allocations: 209.6 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.615, allocations: 37.2 kB / 0.9545 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.6151, allocations: 5.375 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6151, allocations: 0.9688 kB / 0.9545 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.6152, allocations: 12.33 kB / 0.9545 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.6152, allocations: 1.719 kB / 0.9545 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.6154, allocations: 40.8 kB / 0.9546 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.6155, allocations: 10.89 kB / 0.9546 GB, free: 4.871 MB / 0.7169 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 8.44e-05/0.6155, allocations: 125.5 kB / 0.9547 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.6156, allocations: 7.312 kB / 0.9547 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.781e-05/0.6156, allocations: 9.781 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6156, allocations: 1.531 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6156, allocations: 0 / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.6156, allocations: 1.188 kB / 0.9547 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/0.616, allocations: 383.5 kB / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.616, allocations: 0 / 0.9551 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.6161, allocations: 14.17 kB / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6161, allocations: 0 / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.6161, allocations: 1.469 kB / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.6161, allocations: 0 / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6161, allocations: 1.438 kB / 0.9551 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.6164, allocations: 211.5 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.808e-05/0.6164, allocations: 87.95 kB / 0.9554 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.6165, allocations: 9.422 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.243e-05/0.6166, allocations: 2.875 kB / 0.9554 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.6166, allocations: 8.266 kB / 0.9554 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.6166, allocations: 5.438 kB / 0.9554 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.241e-05/0.6167, allocations: 99.78 kB / 0.9555 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6167, allocations: 0 / 0.9555 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002767/0.6169, allocations: 28.53 kB / 0.9555 GB, free: 3.965 MB / 0.7169 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.0001517/0.6171, allocations: 103.5 kB / 0.9556 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003863/0.6175, allocations: 180.5 kB / 0.9558 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6175, allocations: 0 / 0.9558 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.6176, allocations: 44.19 kB / 0.9558 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.6179, allocations: 19.92 kB / 0.9559 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.6183, allocations: 193.9 kB / 0.956 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.6185, allocations: 0.6932 MB / 0.9567 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.6185, allocations: 11.62 kB / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 4e-07/0.6185, allocations: 0 / 0.9567 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.003124/0.6216, allocations: 1.245 MB / 0.9579 GB, free: 2.184 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches