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.001327/0.001327, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001517/0.001517, allocations: 221.5 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.487/1.487, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.268/3.268, allocations: 0.49 GB / 0.7951 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 70.42 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3436, allocations: 176.1 MB / 1.326 GB, free: 1.934 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002009/0.3456, allocations: 0.7457 MB / 1.327 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3472, allocations: 1.194 MB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.3473, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.3473, allocations: 3.938 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/0.3474, allocations: 19.86 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.3479, allocations: 134.9 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.3481, allocations: 115.8 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.3482, allocations: 15.97 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.3483, allocations: 51.75 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3484, allocations: 43.88 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.3484, allocations: 11.98 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.473e-05/0.3485, allocations: 27.92 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.249e-05/0.3485, allocations: 11.94 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.206e-05/0.3486, allocations: 43.84 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3488, allocations: 115.9 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3488, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3488, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3488, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 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.0006206/0.3494, allocations: 335.8 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3495, allocations: 12.03 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.3495, allocations: 34.75 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.3496, allocations: 8.891 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3497, allocations: 118.4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.3497, allocations: 4.359 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.3497, allocations: 16.31 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3499, allocations: 74.2 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3499, allocations: 3.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.3499, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.3499, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.3501, allocations: 47.95 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.3506, allocations: 311.7 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.3508, allocations: 50.61 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3509, allocations: 32.97 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.3509, allocations: 0 / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.3512, allocations: 99.41 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.3512, allocations: 3.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0004389/0.3516, allocations: 133.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3517, allocations: 59.39 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.3518, allocations: 117.8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.3518, allocations: 33.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.505e-05/0.3519, allocations: 96.08 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.3519, allocations: 31.77 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.352, allocations: 37.7 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3521, allocations: 326.8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.3523, allocations: 47.97 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.3525, allocations: 92.19 kB / 1.33 GB, free: 13.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.3528, allocations: 141.9 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3528, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004723/0.3532, allocations: 211.2 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.3533, allocations: 33.7 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3533, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3533, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.3534, allocations: 15.92 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3534, allocations: 4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.3536, allocations: 40.08 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.3536, allocations: 8 kB / 1.331 GB, free: 12.62 MB / 1.029 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.0001059/0.3537, allocations: 118.3 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.3537, allocations: 11.95 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.3538, allocations: 8.359 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3538, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.3538, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3538, allocations: 4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.3543, allocations: 353.4 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3543, allocations: 4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.3543, allocations: 4 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3543, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3543, allocations: 7.922 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.3543, allocations: 7.938 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3543, allocations: 3.938 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.3547, allocations: 207.5 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.3547, allocations: 7.953 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.3547, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.3548, allocations: 7.984 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.3548, allocations: 15.92 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.3548, allocations: 4.062 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.3549, allocations: 95.75 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3549, allocations: 0 / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002662/0.3552, allocations: 24 kB / 1.332 GB, free: 11.67 MB / 1.029 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.0006511/0.3558, allocations: 0.748 MB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003811/0.3562, allocations: 167.3 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3562, allocations: 3.938 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.3563, allocations: 31.97 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3566, allocations: 24.17 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3588, allocations: 1.694 MB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3591, allocations: 0.6885 MB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.514e-05/0.3592, allocations: 11.92 kB / 1.335 GB, free: 8.129 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.3592, allocations: 19.42 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3592, allocations: 0 / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03109/0.3903, allocations: 2.711 MB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.47, allocations: 12.19 kB / 1.338 GB, free: 5.543 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.327573406975716]