Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.FallingEdge,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_10_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.007626/0.007626, allocations: 109.8 kB / 15.74 MB, free: 6.449 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.001947/0.001947, allocations: 196 kB / 16.67 MB, free: 6.355 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2896, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002074/0.2918, allocations: 0.7533 MB / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2933, allocations: 1.144 MB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.2934, allocations: 4 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.2934, allocations: 3.938 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.02e-05/0.2935, allocations: 15.86 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.2941, allocations: 135.4 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.2944, allocations: 127.7 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2945, allocations: 15.98 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2946, allocations: 47.84 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.2947, allocations: 51.86 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.363e-05/0.2948, allocations: 12 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.2949, allocations: 23.98 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.2949, allocations: 11.94 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.295, allocations: 43.84 kB / 1.169 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.2952, allocations: 115.7 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2952, allocations: 0 / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2952, allocations: 0 / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2952, allocations: 0 / 1.169 GB, free: 4.785 MB / 0.92 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.000589/0.2958, allocations: 420.6 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2958, allocations: 8.031 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.794e-05/0.2959, allocations: 30.75 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.296, allocations: 12.84 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2961, allocations: 184.2 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2961, allocations: 4.375 kB / 1.169 GB, free: 4.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.2962, allocations: 4.375 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.2963, allocations: 66.22 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2964, allocations: 3.938 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.2964, allocations: 4 kB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2964, allocations: 4 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.2966, allocations: 43.95 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.2971, allocations: 340.6 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.2973, allocations: 66.55 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.774e-05/0.2974, allocations: 28.95 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.2974, allocations: 4 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.2977, allocations: 95.3 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.2977, allocations: 0 / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004335/0.2981, allocations: 141.5 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.2982, allocations: 55.41 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.525e-05/0.2983, allocations: 117.8 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.2983, allocations: 29.7 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.2984, allocations: 96.05 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.2984, allocations: 15.88 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.2985, allocations: 41.69 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2986, allocations: 322.8 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.2988, allocations: 59.89 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.299, allocations: 84.25 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.2993, allocations: 141.9 kB / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2993, allocations: 0 / 1.171 GB, free: 2.141 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004619/0.2998, allocations: 207.2 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.561e-05/0.2998, allocations: 41.69 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2998, allocations: 4 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2999, allocations: 0 / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.3, allocations: 8 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3, allocations: 4.297 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.3002, allocations: 31.91 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.614e-05/0.3002, allocations: 15.98 kB / 1.171 GB, free: 1.816 MB / 0.92 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 9.81e-05/0.3003, allocations: 132 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.3004, allocations: 11.89 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.3004, allocations: 8.375 kB / 1.171 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3004, allocations: 3.938 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3004, allocations: 0 / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3004, allocations: 4 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004699/0.3009, allocations: 378.5 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3009, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.301, allocations: 11.92 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.301, allocations: 4 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.301, allocations: 4 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.301, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.301, allocations: 3.938 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.3013, allocations: 203.4 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.3014, allocations: 89 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3014, allocations: 0 / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.3015, allocations: 8 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.3016, allocations: 11.92 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.3016, allocations: 4 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.88e-05/0.3016, allocations: 91.27 kB / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3016, allocations: 0 / 1.172 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002626/0.3019, allocations: 31.94 kB / 1.172 GB, free: 0.7383 MB / 0.92 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.0006259/0.3025, allocations: 0.7551 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.3029, allocations: 183.3 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3029, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.3031, allocations: 43.91 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.3033, allocations: 14.12 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3054, allocations: 1.702 MB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3057, allocations: 0.6924 MB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.3057, allocations: 4 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/0.3058, allocations: 19.44 kB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3058, allocations: 0 / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.3251, allocations: 2.56 MB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.993, allocations: 10.86 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches