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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006775/0.006775, allocations: 99.64 kB / 15.73 MB, free: 6.469 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.001305/0.001305, allocations: 191.9 kB / 16.67 MB, free: 6.379 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 71.89 kB / 1.054 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3843, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002062/0.3864, allocations: 0.7454 MB / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3881, allocations: 1.151 MB / 1.209 GB, free: 8.246 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.3882, allocations: 7.938 kB / 1.209 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.3883, allocations: 3.938 kB / 1.209 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.182e-05/0.3884, allocations: 3.938 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.3891, allocations: 138 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.3894, allocations: 135.7 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3895, allocations: 15.95 kB / 1.209 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.3897, allocations: 47.89 kB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3898, allocations: 47.81 kB / 1.21 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.3898, allocations: 12 kB / 1.21 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.59e-05/0.3899, allocations: 23.98 kB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.39, allocations: 19.97 kB / 1.21 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.3901, allocations: 43.8 kB / 1.21 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.3903, allocations: 103.7 kB / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3903, allocations: 0 / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.806e-06/0.3904, allocations: 0 / 1.21 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3904, allocations: 0 / 1.21 GB, free: 7.656 MB / 0.9669 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.0008/0.3912, allocations: 429.1 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.3912, allocations: 8.625 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.3913, allocations: 42.73 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.3913, allocations: 12.84 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3915, allocations: 172.3 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.3915, allocations: 384 / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.3916, allocations: 8.375 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3918, allocations: 66.22 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3918, allocations: 3.938 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3918, allocations: 4 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3918, allocations: 0 / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.392, allocations: 51.89 kB / 1.21 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.3926, allocations: 332.7 kB / 1.211 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.3928, allocations: 66.55 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.3929, allocations: 32.95 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.393, allocations: 3.984 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.3932, allocations: 99.36 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.3932, allocations: 0 / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004377/0.3937, allocations: 133.5 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3937, allocations: 63.34 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3939, allocations: 117.8 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.3939, allocations: 33.7 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.394, allocations: 92.05 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.394, allocations: 15.8 kB / 1.211 GB, free: 5.684 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-05/0.3941, allocations: 37.7 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3942, allocations: 322.8 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.3944, allocations: 55.97 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.3946, allocations: 88.94 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.3949, allocations: 145.9 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3949, allocations: 0 / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004746/0.3954, allocations: 203.4 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.3955, allocations: 41.69 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3955, allocations: 4.109 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3955, allocations: 8 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.3956, allocations: 12.05 kB / 1.212 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3956, allocations: 4 kB / 1.212 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.3958, allocations: 35.91 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.3959, allocations: 11.98 kB / 1.212 GB, free: 4.664 MB / 0.9669 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.0001084/0.396, allocations: 130.8 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.396, allocations: 7.906 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.396, allocations: 8.375 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.396, allocations: 0 / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3961, allocations: 0 / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3961, allocations: 3.984 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.3966, allocations: 378.3 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3966, allocations: 0 / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.745e-05/0.3966, allocations: 15.98 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3966, allocations: 0 / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3967, allocations: 4 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3967, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3967, allocations: 7.922 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.397, allocations: 199.4 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.3971, allocations: 89.02 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3971, allocations: 4 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.3972, allocations: 7.984 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.3972, allocations: 7.938 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3973, allocations: 4 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.873e-05/0.3973, allocations: 91.27 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3973, allocations: 7.875 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002586/0.3976, allocations: 24 kB / 1.213 GB, free: 3.59 MB / 0.9669 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.0006093/0.3982, allocations: 0.7481 MB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.3986, allocations: 175.3 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3986, allocations: 4.25 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.3987, allocations: 43.91 kB / 1.214 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.399, allocations: 13.5 kB / 1.214 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.4012, allocations: 1.693 MB / 1.216 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.4014, allocations: 0.6924 MB / 1.217 GB, free: 52 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.899e-05/0.4015, allocations: 4 kB / 1.217 GB, free: 48 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.4015, allocations: 23.42 kB / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.4015, allocations: 0 / 1.217 GB, free: 24 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.4213, allocations: 2.618 MB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.186, allocations: 11.56 kB / 1.219 GB, free: 13.52 MB / 0.9825 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