Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.000952/0.0009521, allocations: 98.27 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.006603/0.006603, allocations: 170.6 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 14.41 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3364, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.000888/0.3373, allocations: 482.8 kB / 1.059 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.3388, allocations: 1.166 MB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.3389, allocations: 0 / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.3389, allocations: 7.938 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.339, allocations: 7.875 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.3395, allocations: 118.7 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3396, allocations: 103.8 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3397, allocations: 19.97 kB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3398, allocations: 39.84 kB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.3399, allocations: 39.78 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.34, allocations: 8 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.34, allocations: 23.97 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.3401, allocations: 7.984 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.3401, allocations: 65.48 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.3403, allocations: 107.7 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3403, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3403, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.3403, allocations: 0 / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005799/0.3409, allocations: 397.3 kB / 1.061 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.341, allocations: 11.97 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.341, allocations: 38.75 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.3411, allocations: 12.78 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3412, allocations: 180.2 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3412, allocations: 4.375 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.3413, allocations: 8.375 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.3415, allocations: 74.22 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3415, allocations: 3.938 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3415, allocations: 4 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.3415, allocations: 0 / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.3417, allocations: 55.95 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.3422, allocations: 340.6 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.3424, allocations: 62.61 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3425, allocations: 36.97 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.3426, allocations: 0 / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.3428, allocations: 103.3 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.3428, allocations: 0 / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004678/0.3433, allocations: 157.6 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.3433, allocations: 51.41 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.3434, allocations: 125.7 kB / 1.063 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.3435, allocations: 29.7 kB / 1.063 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.3435, allocations: 92.12 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.3436, allocations: 19.8 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.3436, allocations: 25.7 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3437, allocations: 318.8 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.3439, allocations: 63.89 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.3441, allocations: 91.12 kB / 1.063 GB, free: 196 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.3444, allocations: 149.9 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3444, allocations: 11.94 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004594/0.3448, allocations: 219.2 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.3449, allocations: 29.7 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.3449, allocations: 7.984 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3449, allocations: 8.062 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.345, allocations: 19.98 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.345, allocations: 0 / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.3453, allocations: 55.8 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.3453, allocations: 11.98 kB / 1.064 GB, free: 15.64 MB / 0.8262 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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 0.0001264/0.3454, allocations: 131.3 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.3455, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.3455, allocations: 12.38 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3455, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3455, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3455, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.346, allocations: 390.4 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.346, allocations: 0 / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.33e-05/0.3461, allocations: 15.92 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3461, allocations: 8 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3461, allocations: 0 / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3461, allocations: 4.062 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3461, allocations: 3.938 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.3465, allocations: 219.9 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.3465, allocations: 85 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3465, allocations: 4 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.3466, allocations: 4 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.3467, allocations: 15.92 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-06/0.3467, allocations: 4 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.34e-05/0.3468, allocations: 91.27 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3468, allocations: 0 / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002712/0.3471, allocations: 24 kB / 1.065 GB, free: 14.55 MB / 0.8262 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0007352/0.3478, allocations: 0.7631 MB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004314/0.3483, allocations: 187.1 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3483, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.3484, allocations: 52.16 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3487, allocations: 11.94 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3511, allocations: 1.723 MB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3514, allocations: 0.6888 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.949e-05/0.3514, allocations: 7.984 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.3515, allocations: 23.38 kB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3515, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.3643, allocations: 2.257 MB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.3645, allocations: 211.4 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.185, allocations: 0 / 1.07 GB, free: 8.578 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches