Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onOffController.reference|onOffController.u|onOffController.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001215/0.001215, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.2 MB / 0.665 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.89 kB / 0.8127 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.685/0.6864, allocations: 140.4 MB / 0.9498 GB, free: 9.441 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001979/0.6884, allocations: 0.7635 MB / 0.9505 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.6894, allocations: 0.831 MB / 0.9513 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.6894, allocations: 1.375 kB / 0.9513 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.6895, allocations: 7.938 kB / 0.9514 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.6895, allocations: 0 / 0.9514 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.6897, allocations: 16.11 kB / 0.9514 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.151e-05/0.6898, allocations: 44.41 kB / 0.9514 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.6899, allocations: 14.86 kB / 0.9514 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.69, allocations: 17.38 kB / 0.9514 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.69, allocations: 21.41 kB / 0.9515 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.6901, allocations: 4.125 kB / 0.9515 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.45e-05/0.6901, allocations: 8.125 kB / 0.9515 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.6901, allocations: 9.312 kB / 0.9515 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.6901, allocations: 24.03 kB / 0.9515 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.446e-05/0.6902, allocations: 29.44 kB / 0.9515 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.6902, allocations: 5.375 kB / 0.9515 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6902, allocations: 3.938 kB / 0.9515 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.6903, allocations: 0 / 0.9515 GB, free: 8.031 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.0005764/0.6908, allocations: 382.8 kB / 0.9519 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.6909, allocations: 9.75 kB / 0.9519 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.6909, allocations: 3.688 kB / 0.9519 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/0.691, allocations: 167.7 kB / 0.9521 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.691, allocations: 4.375 kB / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.691, allocations: 3.375 kB / 0.9521 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.6912, allocations: 71.97 kB / 0.9522 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.6913, allocations: 192 / 0.9522 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6913, allocations: 3.938 kB / 0.9522 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6913, allocations: 1.25 kB / 0.9522 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.6915, allocations: 44.14 kB / 0.9522 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.6919, allocations: 298.2 kB / 0.9525 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.6922, allocations: 56.11 kB / 0.9525 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.121e-05/0.6923, allocations: 28.41 kB / 0.9526 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.6923, allocations: 5.719 kB / 0.9526 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.6923, allocations: 34.5 kB / 0.9526 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6924, allocations: 0 / 0.9526 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003447/0.6927, allocations: 98.28 kB / 0.9527 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.6927, allocations: 55.34 kB / 0.9528 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.6928, allocations: 109.6 kB / 0.9529 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.6928, allocations: 34.73 kB / 0.9529 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.6929, allocations: 90.42 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.6929, allocations: 5.031 kB / 0.953 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.6929, allocations: 21.2 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.295e-05/0.693, allocations: 316.2 kB / 0.9533 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.717e-05/0.6931, allocations: 23.06 kB / 0.9533 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.6931, allocations: 20.14 kB / 0.9533 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.6933, allocations: 54.17 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6933, allocations: 0 / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000193/0.6935, allocations: 82.19 kB / 0.9535 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6935, allocations: 5.906 kB / 0.9535 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.6935, allocations: 0 / 0.9535 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6936, allocations: 1.125 kB / 0.9535 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.532e-05/0.6936, allocations: 13.62 kB / 0.9535 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.6936, allocations: 7.969 kB / 0.9535 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.6938, allocations: 14.2 kB / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.6938, allocations: 1.344 kB / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.902e-05/0.6938, allocations: 116.4 kB / 0.9536 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.6939, allocations: 5.281 kB / 0.9536 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.6941, allocations: 86.86 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6941, allocations: 0 / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6941, allocations: 1.5 kB / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6941, allocations: 0 / 0.9537 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.6943, allocations: 172.7 kB / 0.9539 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6943, allocations: 0 / 0.9539 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.6943, allocations: 6.188 kB / 0.9539 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.6943, allocations: 1.312 kB / 0.9539 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.6944, allocations: 4.359 kB / 0.9539 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.6944, allocations: 5.438 kB / 0.9539 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6944, allocations: 0 / 0.9539 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.6946, allocations: 166.4 kB / 0.9541 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.6946, allocations: 90.27 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.6946, allocations: 1.375 kB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.6948, allocations: 21 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.6948, allocations: 1.844 kB / 0.9542 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.6949, allocations: 9.828 kB / 0.9542 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.6949, allocations: 91.03 kB / 0.9543 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6949, allocations: 0 / 0.9543 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002166/0.6951, allocations: 9.906 kB / 0.9543 GB, free: 5.312 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001136/0.6952, allocations: 101.7 kB / 0.9544 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.6955, allocations: 47.53 kB / 0.9544 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6955, allocations: 0 / 0.9544 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.6956, allocations: 30 kB / 0.9544 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.6959, allocations: 13.03 kB / 0.9545 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.6962, allocations: 165.9 kB / 0.9546 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.6963, allocations: 0.6839 MB / 0.9553 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.6964, allocations: 9.875 kB / 0.9553 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of SimCode: time 8.31e-07/0.6964, allocations: 1.219 kB / 0.9553 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of Templates: time 0.002027/0.6984, allocations: 0.7704 MB / 0.956 GB, free: 3.91 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches