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.001294/0.001294, allocations: 107.2 kB / 16.45 MB, free: 6.035 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.001315/0.001315, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.427/1.427, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.701/2.701, allocations: 443.5 MB / 0.7287 GB, free: 13.2 MB / 0.5919 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.002016/0.002016, allocations: 67.91 kB / 1.056 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8302, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002296/0.8325, allocations: 0.763 MB / 1.214 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.8341, allocations: 1.077 MB / 1.215 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.8342, allocations: 1.062 kB / 1.215 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.969e-05/0.8342, allocations: 12.95 kB / 1.215 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.995e-05/0.8343, allocations: 9.031 kB / 1.215 GB, free: 2.418 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.8347, allocations: 53.67 kB / 1.215 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.8349, allocations: 68.2 kB / 1.215 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.835, allocations: 17.7 kB / 1.215 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.42e-05/0.8351, allocations: 34.8 kB / 1.215 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.8351, allocations: 28.97 kB / 1.215 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.8352, allocations: 6.469 kB / 1.215 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-05/0.8352, allocations: 19.73 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.8353, allocations: 22.69 kB / 1.215 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.8353, allocations: 31.27 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.8355, allocations: 80.52 kB / 1.215 GB, free: 2.172 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.8355, allocations: 3.938 kB / 1.215 GB, free: 2.168 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8355, allocations: 0 / 1.215 GB, free: 2.168 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8355, allocations: 0 / 1.215 GB, free: 2.168 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.0006076/0.8361, allocations: 386.1 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.8361, allocations: 10.62 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.8362, allocations: 31.88 kB / 1.216 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.8362, allocations: 12.2 kB / 1.216 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.8364, allocations: 180.2 kB / 1.216 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.8364, allocations: 6.281 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.8364, allocations: 8.562 kB / 1.216 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.8366, allocations: 65.2 kB / 1.216 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8366, allocations: 1.156 kB / 1.216 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.8366, allocations: 7.984 kB / 1.216 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8366, allocations: 1 kB / 1.216 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.8368, allocations: 40.72 kB / 1.216 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.8375, allocations: 324.8 kB / 1.216 GB, free: 1.098 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.8377, allocations: 54.39 kB / 1.216 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.8378, allocations: 33.41 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.8378, allocations: 5.062 kB / 1.216 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.838, allocations: 79.02 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.838, allocations: 0 / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000426/0.8384, allocations: 124.5 kB / 1.216 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.8385, allocations: 56.47 kB / 1.216 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.8386, allocations: 129.4 kB / 1.217 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.8386, allocations: 26.52 kB / 1.217 GB, free: 0.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.8387, allocations: 95.06 kB / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.8387, allocations: 18.27 kB / 1.217 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.8388, allocations: 30.33 kB / 1.217 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8389, allocations: 328.9 kB / 1.217 GB, free: 208 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.839, allocations: 28.84 kB / 1.217 GB, free: 196 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.8392, allocations: 74.11 kB / 1.217 GB, free: 120 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.8394, allocations: 111.3 kB / 1.217 GB, free: 24 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8394, allocations: 0 / 1.217 GB, free: 24 kB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003462/0.8398, allocations: 137.8 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.8398, allocations: 5.969 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.8398, allocations: 2.188 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.8398, allocations: 2.094 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.8399, allocations: 20.2 kB / 1.217 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.84, allocations: 10.22 kB / 1.217 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.609e-05/0.84, allocations: 9.984 kB / 1.217 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.8401, allocations: 3.781 kB / 1.217 GB, free: 15.91 MB / 0.9356 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 0.0001215/0.8402, allocations: 139.6 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.8402, allocations: 6.859 kB / 1.218 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.846e-05/0.8402, allocations: 9.438 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.8402, allocations: 1.125 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8402, allocations: 1.062 kB / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8402, allocations: 0 / 1.218 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.8408, allocations: 377.6 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8408, allocations: 0 / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.8408, allocations: 9.578 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.8408, allocations: 0 / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.8409, allocations: 5.156 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.8409, allocations: 1.188 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8409, allocations: 0 / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.8412, allocations: 205.1 kB / 1.218 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.8412, allocations: 86.12 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.8412, allocations: 5.156 kB / 1.218 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.8413, allocations: 11.61 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.8414, allocations: 7.219 kB / 1.218 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.8414, allocations: 6.188 kB / 1.218 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.8414, allocations: 92.89 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.8414, allocations: 0 / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002677/0.8417, allocations: 17.09 kB / 1.218 GB, free: 15.02 MB / 0.9356 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.0007022/0.8424, allocations: 0.7533 MB / 1.219 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.8427, allocations: 79.02 kB / 1.219 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8427, allocations: 0 / 1.219 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.8428, allocations: 39.19 kB / 1.219 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.8431, allocations: 5.219 kB / 1.219 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.845, allocations: 1.513 MB / 1.221 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.8453, allocations: 0.693 MB / 1.221 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.8454, allocations: 4.344 kB / 1.221 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.8454, allocations: 23.58 kB / 1.221 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.8454, allocations: 4 kB / 1.221 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0258/0.8712, allocations: 2.13 MB / 1.224 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.898, allocations: 10.44 kB / 1.224 GB, free: 11.03 MB / 0.9356 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.77574574528262]