Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001009/0.001009, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001317/0.001317, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.741/2.741, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004945, allocations: 12 kB / 0.8708 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8188, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001028/0.8199, allocations: 442.2 kB / 1.021 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000951/0.8208, allocations: 0.8196 MB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.8209, allocations: 0 / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.8209, allocations: 7.875 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.821, allocations: 3.984 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.8212, allocations: 19.98 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.8212, allocations: 23.91 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.8213, allocations: 11.98 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.8214, allocations: 23.91 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.48e-05/0.8215, allocations: 15.92 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.8215, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.735e-05/0.8215, allocations: 4 kB / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.8215, allocations: 0 / 1.022 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.8216, allocations: 37.64 kB / 1.022 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.817e-05/0.8217, allocations: 23.92 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.8217, allocations: 4 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.204e-06/0.8217, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.8217, allocations: 4 kB / 1.022 GB, free: 15.64 MB / 0.7794 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.0006708/0.8224, allocations: 389.2 kB / 1.023 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.8224, allocations: 11.98 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.8225, allocations: 7.906 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.8226, allocations: 171.1 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.8226, allocations: 0 / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.8227, allocations: 4 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.8229, allocations: 77.55 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8229, allocations: 3.984 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.8229, allocations: 0 / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8229, allocations: 0 / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.8231, allocations: 59.95 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.8236, allocations: 296.7 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.8239, allocations: 66.55 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.8239, allocations: 0 / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.824, allocations: 30.56 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.824, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003689/0.8243, allocations: 109.7 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.8244, allocations: 51.41 kB / 1.023 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.8245, allocations: 121.7 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.8245, allocations: 29.7 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.8246, allocations: 95.97 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.8246, allocations: 7.906 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.8246, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.8247, allocations: 322.7 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/0.8248, allocations: 27.97 kB / 1.024 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.402e-05/0.8249, allocations: 27.98 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.657e-05/0.825, allocations: 27.97 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.825, allocations: 0 / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002165/0.8252, allocations: 89.66 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.8252, allocations: 4 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.8253, allocations: 0 / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.8253, allocations: 0 / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.8253, allocations: 15.94 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.8254, allocations: 3.984 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.8255, allocations: 23.89 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.8255, allocations: 4 kB / 1.024 GB, free: 13.39 MB / 0.7794 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 ($PRE.onOffController.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/0.8256, allocations: 113.8 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.8256, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.8259, allocations: 89.55 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.8259, allocations: 0 / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8259, allocations: 4 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8259, allocations: 0 / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.8261, allocations: 177.7 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.8261, allocations: 384 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.8262, allocations: 15.94 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8262, allocations: 4 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.8262, allocations: 3.984 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8262, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.8262, allocations: 0 / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.8264, allocations: 183.4 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.8265, allocations: 85.06 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.8265, allocations: 0 / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.8267, allocations: 23.97 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.8267, allocations: 7.984 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.8267, allocations: 0 / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.8268, allocations: 99.58 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8268, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002086/0.827, allocations: 8 kB / 1.025 GB, free: 12.49 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001239/0.8271, allocations: 99.19 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.8274, allocations: 67.89 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.8274, allocations: 0 / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.8275, allocations: 23.98 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.8277, allocations: 11.94 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.828, allocations: 138.6 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/0.8283, allocations: 0.6887 MB / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.8283, allocations: 0 / 1.026 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.8284, allocations: 11.44 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8284, allocations: 0 / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.002713/0.8311, allocations: 0.6228 MB / 1.027 GB, free: 10.78 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches