Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001667/0.001667, allocations: 105.7 kB / 16.45 MB, free: 6.445 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.001928/0.001928, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.027/3.027, allocations: 497.2 MB / 0.7812 GB, free: 11.96 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001984/0.001984, allocations: 59.91 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 173.9 MB / 1.304 GB, free: 32.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002405/1.028, allocations: 0.753 MB / 1.305 GB, free: 31.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001434/1.03, allocations: 1.082 MB / 1.306 GB, free: 30.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/1.03, allocations: 2.719 kB / 1.306 GB, free: 30.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.361e-05/1.03, allocations: 3.938 kB / 1.306 GB, free: 30.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/1.03, allocations: 7.875 kB / 1.306 GB, free: 30.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/1.03, allocations: 55.61 kB / 1.306 GB, free: 30.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/1.03, allocations: 82.12 kB / 1.306 GB, free: 30.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/1.03, allocations: 13.12 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/1.03, allocations: 26.5 kB / 1.306 GB, free: 30.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/1.031, allocations: 33.19 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/1.031, allocations: 5.562 kB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.365e-05/1.031, allocations: 22.52 kB / 1.306 GB, free: 30.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/1.031, allocations: 17.88 kB / 1.306 GB, free: 30.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/1.031, allocations: 27.7 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/1.031, allocations: 85.41 kB / 1.306 GB, free: 30.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.031, allocations: 2.75 kB / 1.306 GB, free: 30.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/1.031, allocations: 0 / 1.306 GB, free: 30.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.673e-06/1.031, allocations: 4 kB / 1.306 GB, free: 30.64 MB / 1.061 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.0005124/1.031, allocations: 373.6 kB / 1.307 GB, free: 30.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/1.031, allocations: 14.72 kB / 1.307 GB, free: 30.26 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/1.031, allocations: 38.45 kB / 1.307 GB, free: 30.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/1.031, allocations: 13.92 kB / 1.307 GB, free: 30.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/1.032, allocations: 174.8 kB / 1.307 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/1.032, allocations: 2.938 kB / 1.307 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/1.032, allocations: 9.75 kB / 1.307 GB, free: 30 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/1.032, allocations: 74.84 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/1.032, allocations: 0 / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/1.032, allocations: 3.281 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/1.032, allocations: 2.594 kB / 1.307 GB, free: 29.95 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/1.032, allocations: 44.38 kB / 1.307 GB, free: 29.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/1.032, allocations: 330.5 kB / 1.307 GB, free: 29.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/1.033, allocations: 50.78 kB / 1.307 GB, free: 29.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/1.033, allocations: 27.11 kB / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/1.033, allocations: 0 / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/1.033, allocations: 80.06 kB / 1.307 GB, free: 29.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/1.033, allocations: 2.656 kB / 1.307 GB, free: 29.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003889/1.033, allocations: 134.2 kB / 1.307 GB, free: 29.46 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/1.033, allocations: 58.33 kB / 1.308 GB, free: 29.4 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/1.033, allocations: 123.5 kB / 1.308 GB, free: 29.29 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/1.033, allocations: 28.67 kB / 1.308 GB, free: 29.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/1.033, allocations: 99.06 kB / 1.308 GB, free: 29.16 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/1.033, allocations: 11.91 kB / 1.308 GB, free: 29.15 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/1.033, allocations: 32.58 kB / 1.308 GB, free: 29.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.713e-05/1.034, allocations: 322.1 kB / 1.308 GB, free: 28.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/1.034, allocations: 32.44 kB / 1.308 GB, free: 28.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/1.034, allocations: 76.22 kB / 1.308 GB, free: 28.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/1.034, allocations: 109.9 kB / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.034, allocations: 0 / 1.308 GB, free: 28.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002522/1.034, allocations: 125.9 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.034, allocations: 8.312 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.034, allocations: 6.5 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.034, allocations: 2.906 kB / 1.308 GB, free: 28.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.034, allocations: 25.5 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.034, allocations: 2.938 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/1.034, allocations: 9.297 kB / 1.308 GB, free: 28.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/1.034, allocations: 10.84 kB / 1.308 GB, free: 28.57 MB / 1.061 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 6.61e-05/1.034, allocations: 131.4 kB / 1.309 GB, free: 28.44 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/1.035, allocations: 6.891 kB / 1.309 GB, free: 28.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/1.035, allocations: 18.81 kB / 1.309 GB, free: 28.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/1.035, allocations: 0 / 1.309 GB, free: 28.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.035, allocations: 0 / 1.309 GB, free: 28.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.035, allocations: 0 / 1.309 GB, free: 28.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/1.035, allocations: 372.1 kB / 1.309 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.035, allocations: 0 / 1.309 GB, free: 28.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/1.035, allocations: 17.09 kB / 1.309 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.035, allocations: 4 kB / 1.309 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/1.035, allocations: 2.938 kB / 1.309 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.035, allocations: 7.938 kB / 1.309 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.035, allocations: 0 / 1.309 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/1.035, allocations: 198 kB / 1.309 GB, free: 27.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/1.035, allocations: 77.11 kB / 1.309 GB, free: 27.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/1.035, allocations: 6.859 kB / 1.309 GB, free: 27.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/1.035, allocations: 13.73 kB / 1.309 GB, free: 27.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/1.035, allocations: 9.844 kB / 1.309 GB, free: 27.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-06/1.035, allocations: 2.875 kB / 1.309 GB, free: 27.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.575e-05/1.035, allocations: 90.5 kB / 1.309 GB, free: 27.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.035, allocations: 3.938 kB / 1.309 GB, free: 27.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000241/1.036, allocations: 18.2 kB / 1.309 GB, free: 27.73 MB / 1.061 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.0004629/1.036, allocations: 0.7418 MB / 1.31 GB, free: 27.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002417/1.036, allocations: 72.19 kB / 1.31 GB, free: 27.03 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/1.036, allocations: 448 / 1.31 GB, free: 27.03 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/1.036, allocations: 42.77 kB / 1.31 GB, free: 27.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/1.037, allocations: 13.38 kB / 1.31 GB, free: 27.01 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/1.038, allocations: 1.52 MB / 1.312 GB, free: 25.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/1.038, allocations: 0.6897 MB / 1.312 GB, free: 24.94 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.4e-05/1.038, allocations: 6.062 kB / 1.312 GB, free: 24.94 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/1.038, allocations: 24.52 kB / 1.312 GB, free: 24.92 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.038, allocations: 0 / 1.312 GB, free: 24.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07084/1.109, allocations: 2.142 MB / 1.315 GB, free: 24.53 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/9.077, allocations: 12.5 kB / 1.315 GB, free: 24.52 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.717970966827124]