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.0009731/0.0009732, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008847/0.008847, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.449/1.449, allocations: 223.2 MB / 240.3 MB, free: 5.352 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.435/2.435, allocations: 390.9 MB / 0.6663 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003849/0.0003853, allocations: 12 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8134/0.8138, allocations: 142.4 MB / 0.9551 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001152/0.815, allocations: 446.4 kB / 0.9555 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.816, allocations: 0.8277 MB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.225e-05/0.8161, allocations: 0 / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.8161, allocations: 0 / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.48e-05/0.8162, allocations: 9.297 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.8164, allocations: 14.8 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.8165, allocations: 41.47 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.8166, allocations: 13.19 kB / 0.9564 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.8167, allocations: 12.67 kB / 0.9564 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.8168, allocations: 21.59 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.8168, allocations: 1.188 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.8168, allocations: 1.969 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.8168, allocations: 9.062 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.8169, allocations: 41.28 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.85e-05/0.817, allocations: 43.61 kB / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.817, allocations: 0 / 0.9565 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.817, allocations: 4.812 kB / 0.9565 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.817, allocations: 0 / 0.9565 GB, free: 6.535 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.0006453/0.8176, allocations: 391.9 kB / 0.9569 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.8177, allocations: 8.844 kB / 0.9569 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.8177, allocations: 7.562 kB / 0.9569 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.8179, allocations: 167.2 kB / 0.957 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.8179, allocations: 1.781 kB / 0.957 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.8179, allocations: 6.781 kB / 0.9571 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.8181, allocations: 71.41 kB / 0.9571 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.8182, allocations: 1.219 kB / 0.9571 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.8182, allocations: 3.938 kB / 0.9571 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.8182, allocations: 1.312 kB / 0.9571 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.8184, allocations: 53.81 kB / 0.9572 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.8189, allocations: 308.5 kB / 0.9575 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.8192, allocations: 60.95 kB / 0.9575 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.8193, allocations: 31.55 kB / 0.9576 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.8194, allocations: 3.938 kB / 0.9576 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.8194, allocations: 31.59 kB / 0.9576 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.8194, allocations: 5.031 kB / 0.9576 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003946/0.8198, allocations: 103.9 kB / 0.9577 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.8198, allocations: 55.39 kB / 0.9578 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.8199, allocations: 118.1 kB / 0.9579 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.8199, allocations: 26.95 kB / 0.9579 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.899e-05/0.82, allocations: 90.23 kB / 0.958 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.82, allocations: 5.219 kB / 0.958 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.82, allocations: 17.69 kB / 0.958 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.8201, allocations: 318.8 kB / 0.9583 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.673e-05/0.8202, allocations: 30.55 kB / 0.9583 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-05/0.8203, allocations: 32.95 kB / 0.9584 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.8204, allocations: 52.17 kB / 0.9584 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8204, allocations: 7.938 kB / 0.9584 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002122/0.8207, allocations: 87.81 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.8207, allocations: 5.344 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.8207, allocations: 0 / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8207, allocations: 1.281 kB / 0.9585 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.8208, allocations: 16.8 kB / 0.9585 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.8208, allocations: 3.938 kB / 0.9585 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.8209, allocations: 21.94 kB / 0.9586 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.8209, allocations: 0.9688 kB / 0.9586 GB, free: 4.594 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 5.974e-05/0.821, allocations: 117.3 kB / 0.9587 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.821, allocations: 5.188 kB / 0.9587 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.8213, allocations: 93.23 kB / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.8213, allocations: 0 / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.8213, allocations: 0 / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8213, allocations: 1.25 kB / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.8215, allocations: 173.6 kB / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8215, allocations: 0 / 0.9589 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.8215, allocations: 12.14 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.8215, allocations: 1.031 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.8216, allocations: 7.875 kB / 0.9589 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.8216, allocations: 1.844 kB / 0.9589 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8216, allocations: 4 kB / 0.959 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.8218, allocations: 191.6 kB / 0.9591 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.261e-05/0.8218, allocations: 78.58 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.8219, allocations: 1.75 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.822, allocations: 20.7 kB / 0.9592 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.8221, allocations: 7.172 kB / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.8221, allocations: 1.469 kB / 0.9592 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.8221, allocations: 90.86 kB / 0.9593 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8221, allocations: 0 / 0.9593 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002243/0.8224, allocations: 13.78 kB / 0.9593 GB, free: 3.812 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.000126/0.8225, allocations: 97.25 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.8228, allocations: 64.84 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8228, allocations: 1.375 kB / 0.9595 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.8229, allocations: 34.91 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.8232, allocations: 11.88 kB / 0.9595 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.8235, allocations: 138 kB / 0.9597 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.8237, allocations: 0.6803 MB / 0.9603 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.432e-05/0.8237, allocations: 5.812 kB / 0.9603 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.8237, allocations: 9.344 kB / 0.9603 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.8237, allocations: 5.688 kB / 0.9604 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of Templates: time 0.00296/0.8267, allocations: 0.6428 MB / 0.961 GB, free: 2.492 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/jenkins/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