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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007672/0.0007672, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000797/0.000797, allocations: 170.3 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8925/0.8925, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.747/1.747, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.005e-06/3.005e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.203e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001436/0.001458, allocations: 0.7402 MB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.002532, allocations: 1.171 MB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.203e-05/0.002574, allocations: 0 / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.002608, allocations: 7.875 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.002675, allocations: 11.92 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.003095, allocations: 146.4 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.003231, allocations: 123.7 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.003317, allocations: 11.98 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.974e-05/0.003417, allocations: 63.89 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.003489, allocations: 35.94 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.003509, allocations: 12 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.003565, allocations: 19.98 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.003588, allocations: 19.91 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.00363, allocations: 27.98 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.00378, allocations: 135.6 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.003782, allocations: 4 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003783, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.003786, allocations: 4 kB / 1.002 GB, free: 10.97 MB / 0.9636 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.0004302/0.004216, allocations: 335.8 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.004253, allocations: 8.75 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.762e-05/0.004281, allocations: 34.75 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.004317, allocations: 12.89 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.131e-05/0.004388, allocations: 117.6 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.004399, allocations: 4.375 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.004417, allocations: 12.36 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.004545, allocations: 62.23 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.004552, allocations: 192 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.004563, allocations: 12.36 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004569, allocations: 4.125 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.628e-05/0.004665, allocations: 39.95 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.005049, allocations: 287.8 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.005168, allocations: 58.62 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.005219, allocations: 32.89 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.005229, allocations: 0 / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.005395, allocations: 99.23 kB / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.005396, allocations: 0 / 1.003 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002781/0.005674, allocations: 137.7 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.005707, allocations: 59.41 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.005775, allocations: 125.8 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.005793, allocations: 25.7 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.005838, allocations: 88.14 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.005857, allocations: 23.84 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.005906, allocations: 37.7 kB / 1.004 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.005989, allocations: 322.8 kB / 1.004 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.006096, allocations: 77.67 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.006208, allocations: 125.9 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.00636, allocations: 145.8 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006363, allocations: 0 / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000266/0.006629, allocations: 244.9 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.006654, allocations: 37.62 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.006658, allocations: 7.938 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.00667, allocations: 0 / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.006729, allocations: 15.98 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.006735, allocations: 4 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.006836, allocations: 31.91 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.00685, allocations: 7.984 kB / 1.005 GB, free: 8.117 MB / 0.9636 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 6.981e-05/0.00692, allocations: 132 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.00693, allocations: 11.89 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.00695, allocations: 8.438 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.006953, allocations: 4 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.006958, allocations: 4.062 kB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.006962, allocations: 3.984 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/0.007242, allocations: 337.6 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.007242, allocations: 0 / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.769e-05/0.00727, allocations: 19.91 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007272, allocations: 0 / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.007278, allocations: 0 / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.007279, allocations: 4 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.007279, allocations: 0 / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.007442, allocations: 207.4 kB / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.007449, allocations: 7.953 kB / 1.005 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.007464, allocations: 7.984 kB / 1.005 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.145e-05/0.007505, allocations: 8 kB / 1.005 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.007547, allocations: 7.984 kB / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.007554, allocations: 4 kB / 1.005 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.007591, allocations: 95.81 kB / 1.005 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007591, allocations: 0 / 1.005 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001751/0.007766, allocations: 23.94 kB / 1.006 GB, free: 7.176 MB / 0.9636 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.0004142/0.008181, allocations: 0.744 MB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.008432, allocations: 205 kB / 1.006 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-06/0.008433, allocations: 0 / 1.006 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.024e-05/0.008493, allocations: 39.84 kB / 1.006 GB, free: 6.145 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.008681, allocations: 17.7 kB / 1.006 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.01001, allocations: 1.814 MB / 1.008 GB, free: 4.18 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.618e-05/0.01006, allocations: 72.14 kB / 1.008 GB, free: 4.09 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.656e-05/0.01008, allocations: 7.859 kB / 1.008 GB, free: 4.082 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.645e-05/0.01012, allocations: 20.5 kB / 1.008 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01012, allocations: 8 kB / 1.008 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01495/0.02507, allocations: 3.354 MB / 1.012 GB, free: 0.8594 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.886, allocations: 5.969 kB / 1.012 GB, free: 0.8555 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable falEdg.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv. Warning: Get data of variable falEdg.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv failed! Error: Could not read variable falEdg.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv. Warning: Get data of variable falEdg.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.035005306825042]