Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 109.4 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437.1 MB / 0.7171 GB, free: 4.031 MB / 0.5762 GB " [Timeout remaining time 177] 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.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 68.12 kB / 1.027 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8959/0.8979, allocations: 151.6 MB / 1.175 GB, free: 17.66 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002056/0.9, allocations: 0.7605 MB / 1.175 GB, free: 17.17 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.9013, allocations: 1.073 MB / 1.176 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.9013, allocations: 1.75 kB / 1.176 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.9014, allocations: 4.734 kB / 1.176 GB, free: 16.38 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.9015, allocations: 9.703 kB / 1.177 GB, free: 16.37 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.9018, allocations: 60.72 kB / 1.177 GB, free: 16.33 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.9019, allocations: 64.11 kB / 1.177 GB, free: 16.3 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.902, allocations: 24.25 kB / 1.177 GB, free: 16.29 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.9021, allocations: 30.31 kB / 1.177 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.9022, allocations: 33.64 kB / 1.177 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.9022, allocations: 5.688 kB / 1.177 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.11e-05/0.9023, allocations: 20.12 kB / 1.177 GB, free: 16.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.537e-05/0.9023, allocations: 16.62 kB / 1.177 GB, free: 16.24 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.9023, allocations: 39.5 kB / 1.177 GB, free: 16.21 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.9025, allocations: 84.8 kB / 1.177 GB, free: 16.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.9025, allocations: 0 / 1.177 GB, free: 16.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9025, allocations: 5.25 kB / 1.177 GB, free: 16.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.9026, allocations: 0 / 1.177 GB, free: 16.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000498/0.9031, allocations: 383.6 kB / 1.177 GB, free: 15.79 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.9031, allocations: 10.28 kB / 1.177 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.875e-05/0.9031, allocations: 32.77 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.9032, allocations: 13.66 kB / 1.177 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.764e-05/0.9033, allocations: 177.1 kB / 1.177 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.9033, allocations: 7.625 kB / 1.177 GB, free: 15.54 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.9033, allocations: 7.938 kB / 1.177 GB, free: 15.53 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.9035, allocations: 72.14 kB / 1.178 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.9035, allocations: 0 / 1.178 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.9036, allocations: 5.469 kB / 1.178 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9036, allocations: 1.031 kB / 1.178 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.9038, allocations: 40.8 kB / 1.178 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.9044, allocations: 322.4 kB / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.9045, allocations: 55.33 kB / 1.178 GB, free: 15.14 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.9046, allocations: 28.3 kB / 1.178 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.9047, allocations: 2.219 kB / 1.178 GB, free: 15.13 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.905, allocations: 86.06 kB / 1.178 GB, free: 15.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.905, allocations: 3.938 kB / 1.178 GB, free: 15.06 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004843/0.9055, allocations: 127.4 kB / 1.178 GB, free: 15.01 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.9055, allocations: 53.75 kB / 1.178 GB, free: 14.95 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.9056, allocations: 122.7 kB / 1.178 GB, free: 14.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.9056, allocations: 35.62 kB / 1.178 GB, free: 14.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.9057, allocations: 92.95 kB / 1.178 GB, free: 14.71 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.9057, allocations: 19.95 kB / 1.178 GB, free: 14.69 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.9057, allocations: 30.3 kB / 1.179 GB, free: 14.67 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.9058, allocations: 324 kB / 1.179 GB, free: 14.35 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.9059, allocations: 25.09 kB / 1.179 GB, free: 14.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.9061, allocations: 87.19 kB / 1.179 GB, free: 14.27 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.9063, allocations: 107 kB / 1.179 GB, free: 14.19 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9063, allocations: 0 / 1.179 GB, free: 14.19 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000296/0.9066, allocations: 127.7 kB / 1.179 GB, free: 14.13 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9066, allocations: 13.16 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.9066, allocations: 6.891 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.9067, allocations: 2.75 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.9068, allocations: 15.92 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.9068, allocations: 3.562 kB / 1.179 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.169e-05/0.9069, allocations: 15.69 kB / 1.179 GB, free: 14.11 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.9069, allocations: 9.391 kB / 1.179 GB, free: 14.11 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 7.547e-05/0.907, allocations: 134.3 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.907, allocations: 7.453 kB / 1.179 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.907, allocations: 10.91 kB / 1.179 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.9071, allocations: 1.75 kB / 1.179 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9071, allocations: 0 / 1.179 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.9071, allocations: 0.6094 kB / 1.179 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.9075, allocations: 368.6 kB / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9075, allocations: 0 / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.9076, allocations: 12.53 kB / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.9076, allocations: 1.438 kB / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.9076, allocations: 0.6094 kB / 1.18 GB, free: 13.63 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.9076, allocations: 5.281 kB / 1.18 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.9076, allocations: 0 / 1.18 GB, free: 13.62 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.9079, allocations: 204.7 kB / 1.18 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.9079, allocations: 86.86 kB / 1.18 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.908, allocations: 1.875 kB / 1.18 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.303e-05/0.908, allocations: 13.94 kB / 1.18 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.9081, allocations: 9.594 kB / 1.18 GB, free: 13.36 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.9081, allocations: 2.438 kB / 1.18 GB, free: 13.36 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.9082, allocations: 95.66 kB / 1.18 GB, free: 13.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.022e-06/0.9082, allocations: 0 / 1.18 GB, free: 13.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002568/0.9084, allocations: 18.42 kB / 1.18 GB, free: 13.27 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0005463/0.909, allocations: 0.7416 MB / 1.181 GB, free: 12.59 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003234/0.9093, allocations: 83.89 kB / 1.181 GB, free: 12.56 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.9093, allocations: 4.125 kB / 1.181 GB, free: 12.56 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.9095, allocations: 31.16 kB / 1.181 GB, free: 12.55 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.9098, allocations: 15.22 kB / 1.181 GB, free: 12.55 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.9115, allocations: 1.513 MB / 1.182 GB, free: 11.18 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.9117, allocations: 0.6888 MB / 1.183 GB, free: 10.49 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.436e-05/0.9117, allocations: 6.328 kB / 1.183 GB, free: 10.49 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.9118, allocations: 22.16 kB / 1.183 GB, free: 10.47 MB / 0.92 GB Notification: Performance of SimCode: time 1.062e-06/0.9118, allocations: 0 / 1.183 GB, free: 10.47 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.9349, allocations: 2.127 MB / 1.185 GB, free: 10.09 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/9.023, allocations: 11.17 kB / 1.185 GB, free: 10.08 MB / 0.92 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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: 14.867805380141363]