Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008192/0.0008192, 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.0008815/0.0008815, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8603/0.8603, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.693/1.693, allocations: 377.9 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.933e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001364/0.001383, allocations: 0.7441 MB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.002549, allocations: 1.17 MB / 0.9828 GB, free: 0.6289 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.002592, allocations: 3.938 kB / 0.9829 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.479e-05/0.002617, allocations: 3.938 kB / 0.9829 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.399e-05/0.002681, allocations: 15.92 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.003061, allocations: 138.2 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.003199, allocations: 115.8 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.599e-05/0.003285, allocations: 15.89 kB / 0.9831 GB, free: 352 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.00338, allocations: 67.88 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.222e-05/0.003452, allocations: 43.86 kB / 0.9832 GB, free: 240 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003472, allocations: 12 kB / 0.9832 GB, free: 228 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.302e-05/0.003525, allocations: 19.98 kB / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.003547, allocations: 12 kB / 0.9833 GB, free: 196 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.003591, allocations: 43.89 kB / 0.9833 GB, free: 152 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.003737, allocations: 123.7 kB / 0.9834 GB, free: 28 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.00374, allocations: 4 kB / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003741, allocations: 0 / 0.9834 GB, free: 24 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003745, allocations: 4 kB / 0.9834 GB, free: 20 kB / 0.9323 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.004175, allocations: 331.8 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.004209, allocations: 8.031 kB / 0.9838 GB, free: 15.65 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.544e-05/0.004235, allocations: 38.75 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.004269, allocations: 8.891 kB / 0.9838 GB, free: 15.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.047e-05/0.00434, allocations: 121.7 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.004351, allocations: 4.375 kB / 0.9839 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.004369, allocations: 12.38 kB / 0.9839 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.004493, allocations: 62.22 kB / 0.984 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.0045, allocations: 4.188 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004509, allocations: 4.375 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.004514, allocations: 4.125 kB / 0.984 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.004618, allocations: 43.95 kB / 0.9841 GB, free: 15.31 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.004978, allocations: 291.8 kB / 0.9843 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.005089, allocations: 58.55 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.005139, allocations: 28.91 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.005148, allocations: 0 / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.0053, allocations: 99.36 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.005301, allocations: 0 / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of matching and sorting (n=8): time 0.0002676/0.005569, allocations: 145.6 kB / 0.9847 GB, free: 14.63 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.0056, allocations: 51.41 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.005662, allocations: 117.8 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.005679, allocations: 33.64 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.005724, allocations: 96.08 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.005739, allocations: 19.89 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.005787, allocations: 37.7 kB / 0.985 GB, free: 14.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.005866, allocations: 318.8 kB / 0.9853 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.005981, allocations: 85.66 kB / 0.9854 GB, free: 13.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.006092, allocations: 121.9 kB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.006245, allocations: 133.9 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.006248, allocations: 4 kB / 0.9856 GB, free: 13.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002555/0.006504, allocations: 245.1 kB / 0.9859 GB, free: 13.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.006529, allocations: 37.64 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006533, allocations: 4 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.006543, allocations: 0 / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.291e-05/0.006596, allocations: 11.98 kB / 0.9859 GB, free: 13.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.006602, allocations: 7.984 kB / 0.9859 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.006706, allocations: 47.97 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.006719, allocations: 4 kB / 0.986 GB, free: 13.16 MB / 0.948 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.0003187/0.007037, allocations: 128.2 kB / 0.9861 GB, free: 13.03 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.007048, allocations: 15.88 kB / 0.9861 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.007068, allocations: 8.438 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007071, allocations: 4 kB / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007075, allocations: 0 / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007078, allocations: 0 / 0.9861 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002797/0.007358, allocations: 345.6 kB / 0.9864 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.00736, allocations: 3.984 kB / 0.9865 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.583e-05/0.007386, allocations: 7.938 kB / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.007388, allocations: 0 / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.007395, allocations: 4 kB / 0.9865 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007397, allocations: 3.984 kB / 0.9865 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007398, allocations: 0 / 0.9865 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.007551, allocations: 207.5 kB / 0.9867 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.00756, allocations: 19.89 kB / 0.9867 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007571, allocations: 0 / 0.9867 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.167e-05/0.007613, allocations: 7.984 kB / 0.9867 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.007647, allocations: 15.92 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.007653, allocations: 4 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.007686, allocations: 91.77 kB / 0.9868 GB, free: 12.24 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007686, allocations: 0 / 0.9868 GB, free: 12.24 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001741/0.00786, allocations: 27.98 kB / 0.9868 GB, free: 12.21 MB / 0.948 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.000382/0.008242, allocations: 0.7586 MB / 0.9876 GB, free: 11.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002642/0.008506, allocations: 189 kB / 0.9877 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008508, allocations: 0 / 0.9877 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.00857, allocations: 39.92 kB / 0.9878 GB, free: 11.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.00876, allocations: 8.234 kB / 0.9878 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.01008, allocations: 1.806 MB / 0.9896 GB, free: 9.234 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.024e-05/0.01013, allocations: 79.27 kB / 0.9896 GB, free: 9.137 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.01016, allocations: 8 kB / 0.9896 GB, free: 9.129 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.0102, allocations: 24.48 kB / 0.9897 GB, free: 9.102 MB / 0.948 GB Notification: Performance of SimCode: time 6.52e-07/0.0102, allocations: 0 / 0.9897 GB, free: 9.102 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.02954, allocations: 3.366 MB / 0.9929 GB, free: 5.91 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/6.955, allocations: 1.953 kB / 0.993 GB, free: 5.91 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv. Warning: Get data of variable falEdg.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv failed! Error: Could not read variable falEdg.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv. Warning: Get data of variable falEdg.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv failed! Error: Could not read variable triggeredSampler.u in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv. Warning: Get data of variable triggeredSampler.u from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.991964252665639]