Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009987/0.0009987, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001036/0.001036, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.271/1.271, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437 MB / 0.7099 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 0.8687 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7143, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002083/0.7164, allocations: 0.8083 MB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.718, allocations: 1.276 MB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.7181, allocations: 0 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.342e-05/0.7181, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.907e-05/0.7182, allocations: 19.84 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.7189, allocations: 233.3 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.7191, allocations: 223.6 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.7192, allocations: 24.14 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.7194, allocations: 91.86 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.7195, allocations: 75.83 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.347e-05/0.7196, allocations: 12 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.21e-05/0.7197, allocations: 31.91 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.7197, allocations: 27.91 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.7198, allocations: 83.73 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.7201, allocations: 205.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7201, allocations: 7.938 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.61e-07/0.7201, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7201, allocations: 0 / 1.02 GB, free: 15.63 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007481/0.7209, allocations: 0.4946 MB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7209, allocations: 11.98 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.777e-05/0.721, allocations: 50.61 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.7211, allocations: 16.84 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.7217, allocations: 254.6 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.7217, allocations: 16.38 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.7217, allocations: 24.36 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.722, allocations: 135.6 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.722, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.722, allocations: 11.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.722, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.7222, allocations: 59.95 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007566/0.7229, allocations: 0.5123 MB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.7232, allocations: 157.2 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-05/0.7233, allocations: 77.72 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.7233, allocations: 3.984 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003478/0.7237, allocations: 206.1 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.7237, allocations: 0 / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22): time 0.0005319/0.7242, allocations: 305.4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.7243, allocations: 93.03 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.7244, allocations: 133.8 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.7244, allocations: 37.7 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.7245, allocations: 96.7 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.7246, allocations: 51.34 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.7247, allocations: 77.67 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.7248, allocations: 322.8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.725, allocations: 84.23 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.7252, allocations: 156.2 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/0.7255, allocations: 255.2 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7255, allocations: 4 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005605/0.7261, allocations: 352.6 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.7261, allocations: 63.39 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.7261, allocations: 4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.7262, allocations: 4 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.7263, allocations: 27.86 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7263, allocations: 4 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.7266, allocations: 68 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.7267, allocations: 15.98 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 0.000126/0.7268, allocations: 144.5 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.7268, allocations: 11.91 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.7269, allocations: 16.5 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.7269, allocations: 11.94 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.7269, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.7269, allocations: 7.984 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.7275, allocations: 0.6147 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7275, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.7275, allocations: 15.92 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.7275, allocations: 7.938 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.7276, allocations: 8 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7276, allocations: 4 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7276, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.728, allocations: 413.8 kB / 1.025 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.728, allocations: 89.02 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.7281, allocations: 19.86 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.7282, allocations: 15.98 kB / 1.025 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.7283, allocations: 27.95 kB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.7283, allocations: 8 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.7284, allocations: 104.6 kB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.182e-06/0.7284, allocations: 0 / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003411/0.7287, allocations: 55.92 kB / 1.025 GB, free: 9.488 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.000728/0.7294, allocations: 0.9615 MB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000489/0.7299, allocations: 343.7 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.73, allocations: 4 kB / 1.027 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.7301, allocations: 119.9 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.7305, allocations: 28.41 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.7331, allocations: 2.289 MB / 1.029 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.7333, allocations: 0.7087 MB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.415e-05/0.7334, allocations: 21.48 kB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.7335, allocations: 35.42 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.7335, allocations: 0 / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.7476, allocations: 3.768 MB / 1.033 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.7478, allocations: 196.6 kB / 1.034 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.358, allocations: 3.938 kB / 1.034 GB, free: 0.8633 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches