Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_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.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001688/0.001687, allocations: 193.1 kB / 16.14 MB, free: 6.711 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 71.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7279, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002103/0.7301, allocations: 0.8117 MB / 0.9499 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.7314, allocations: 1.156 MB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.7315, allocations: 1.375 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.7315, allocations: 3.938 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.7316, allocations: 9.297 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.732, allocations: 117 kB / 0.9511 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.7321, allocations: 111.9 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.7322, allocations: 14.36 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.51e-05/0.7323, allocations: 40.31 kB / 0.9513 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.214e-05/0.7324, allocations: 42.56 kB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.7324, allocations: 5.531 kB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.978e-05/0.7325, allocations: 17.66 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.027e-05/0.7326, allocations: 9.641 kB / 0.9513 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.7326, allocations: 52.8 kB / 0.9514 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.7328, allocations: 104.2 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7328, allocations: 1.312 kB / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7328, allocations: 0 / 0.9515 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5e-06/0.7328, allocations: 0 / 0.9515 GB, free: 7.184 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005201/0.7333, allocations: 412.4 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.7334, allocations: 12.94 kB / 0.9519 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.7334, allocations: 36.12 kB / 0.9519 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.7335, allocations: 11.66 kB / 0.952 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.275e-05/0.7336, allocations: 183.2 kB / 0.9521 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.7336, allocations: 7.125 kB / 0.9521 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.7336, allocations: 7.188 kB / 0.9521 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.7338, allocations: 65.16 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.7338, allocations: 3.938 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.7338, allocations: 0.9688 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7338, allocations: 1.031 kB / 0.9522 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.734, allocations: 56.48 kB / 0.9523 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.7345, allocations: 334.5 kB / 0.9526 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.7347, allocations: 58.92 kB / 0.9526 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.7348, allocations: 30.5 kB / 0.9527 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.7348, allocations: 5.406 kB / 0.9527 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.735, allocations: 87.98 kB / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.735, allocations: 0 / 0.9528 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.00042/0.7354, allocations: 147.9 kB / 0.9529 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.7355, allocations: 52.53 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.256e-05/0.7355, allocations: 123.5 kB / 0.9531 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.7356, allocations: 28.92 kB / 0.9531 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.7356, allocations: 92.22 kB / 0.9532 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.7357, allocations: 18.03 kB / 0.9532 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.7357, allocations: 38.3 kB / 0.9532 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.7358, allocations: 328.6 kB / 0.9535 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.736, allocations: 51.89 kB / 0.9536 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.7361, allocations: 87.69 kB / 0.9537 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.7364, allocations: 139.8 kB / 0.9538 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.7364, allocations: 1 kB / 0.9538 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004447/0.7369, allocations: 209.1 kB / 0.954 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.7369, allocations: 41.77 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.7369, allocations: 5.344 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.7369, allocations: 1.25 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.737, allocations: 12.77 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.7371, allocations: 1.562 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.7373, allocations: 36.17 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.7373, allocations: 14.08 kB / 0.9541 GB, free: 4.75 MB / 0.7169 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 8.416e-05/0.7374, allocations: 133.5 kB / 0.9542 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.7374, allocations: 3.344 kB / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.7374, allocations: 9.969 kB / 0.9543 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.7375, allocations: 5.5 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7375, allocations: 4.062 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.7375, allocations: 0 / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003996/0.7379, allocations: 389.4 kB / 0.9546 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7379, allocations: 0 / 0.9546 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.7379, allocations: 9.547 kB / 0.9546 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.738, allocations: 0 / 0.9546 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.738, allocations: 5.156 kB / 0.9547 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.738, allocations: 1.625 kB / 0.9547 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.738, allocations: 3.938 kB / 0.9547 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.7383, allocations: 204.3 kB / 0.9549 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.7383, allocations: 82.84 kB / 0.9549 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.7383, allocations: 2.406 kB / 0.9549 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.415e-05/0.7384, allocations: 6.812 kB / 0.9549 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.7385, allocations: 16.61 kB / 0.955 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.7385, allocations: 1.031 kB / 0.955 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.61e-05/0.7385, allocations: 92.16 kB / 0.955 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7385, allocations: 1.062 kB / 0.955 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002714/0.7388, allocations: 28 kB / 0.9551 GB, free: 3.844 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: 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.0005235/0.7394, allocations: 0.7512 MB / 0.9558 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003733/0.7397, allocations: 180.3 kB / 0.956 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.7397, allocations: 0 / 0.956 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.7399, allocations: 40.03 kB / 0.956 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.7402, allocations: 18.08 kB / 0.956 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.742, allocations: 1.704 MB / 0.9577 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.7422, allocations: 0.6875 MB / 0.9584 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.807e-05/0.7422, allocations: 7.625 kB / 0.9584 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.7422, allocations: 22.89 kB / 0.9584 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of SimCode: time 1.212e-06/0.7423, allocations: 0 / 0.9584 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.7554, allocations: 2.317 MB / 0.9607 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.7556, allocations: 207.9 kB / 0.9609 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.639, allocations: 1.062 kB / 0.9609 GB, free: 15.3 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches