Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0013/0.0013, allocations: 102.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.001312/0.001312, allocations: 188.6 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.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 476.7 MB / 0.7611 GB, free: 15.7 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SampleTrigger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.91 kB / 1.104 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002106/1.115, allocations: 0.7486 MB / 1.269 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001394/1.117, allocations: 1.087 MB / 1.271 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/1.117, allocations: 0.7188 kB / 1.271 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.74e-05/1.117, allocations: 9.375 kB / 1.271 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/1.117, allocations: 6.734 kB / 1.271 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003081/1.117, allocations: 55.58 kB / 1.271 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/1.117, allocations: 73.16 kB / 1.271 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/1.117, allocations: 12.28 kB / 1.271 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/1.117, allocations: 30.33 kB / 1.271 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.749e-05/1.117, allocations: 45.73 kB / 1.271 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/1.117, allocations: 6.438 kB / 1.271 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/1.118, allocations: 15.22 kB / 1.271 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/1.118, allocations: 17.67 kB / 1.271 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.755e-05/1.118, allocations: 26.88 kB / 1.271 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/1.118, allocations: 81.36 kB / 1.271 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.118, allocations: 0 / 1.271 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/1.118, allocations: 1 kB / 1.271 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.118, allocations: 0.5156 kB / 1.271 GB, free: 6.293 MB / 0.9981 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.0005338/1.118, allocations: 387.3 kB / 1.271 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.118, allocations: 9.5 kB / 1.271 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/1.118, allocations: 34.03 kB / 1.271 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/1.118, allocations: 11.73 kB / 1.271 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/1.119, allocations: 186.4 kB / 1.272 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/1.119, allocations: 6.875 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/1.119, allocations: 4.531 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/1.119, allocations: 68.25 kB / 1.272 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.119, allocations: 0.75 kB / 1.272 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/1.119, allocations: 4 kB / 1.272 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/1.119, allocations: 1.719 kB / 1.272 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/1.119, allocations: 47.33 kB / 1.272 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/1.12, allocations: 319.7 kB / 1.272 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/1.12, allocations: 57.27 kB / 1.272 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.982e-05/1.12, allocations: 27.67 kB / 1.272 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/1.12, allocations: 5.625 kB / 1.272 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/1.12, allocations: 77.8 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/1.12, allocations: 0 / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004691/1.121, allocations: 131.9 kB / 1.272 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.121, allocations: 54.02 kB / 1.272 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/1.121, allocations: 127.1 kB / 1.272 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/1.121, allocations: 26.64 kB / 1.272 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/1.121, allocations: 92.8 kB / 1.273 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/1.121, allocations: 15.45 kB / 1.273 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/1.121, allocations: 31.3 kB / 1.273 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/1.121, allocations: 326.8 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/1.121, allocations: 30.19 kB / 1.273 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/1.121, allocations: 78.67 kB / 1.273 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/1.121, allocations: 111.1 kB / 1.273 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.121, allocations: 4.719 kB / 1.273 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003383/1.122, allocations: 130.7 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.122, allocations: 7.656 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.122, allocations: 2.719 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.122, allocations: 1.875 kB / 1.273 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/1.122, allocations: 26.16 kB / 1.273 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.122, allocations: 2.344 kB / 1.273 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/1.122, allocations: 11.75 kB / 1.273 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/1.122, allocations: 5.266 kB / 1.273 GB, free: 4.223 MB / 0.9981 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 8.923e-05/1.122, allocations: 128.1 kB / 1.273 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/1.122, allocations: 11.28 kB / 1.273 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/1.122, allocations: 6.75 kB / 1.273 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.122, allocations: 1.578 kB / 1.273 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.122, allocations: 0.75 kB / 1.273 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.122, allocations: 4 kB / 1.273 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/1.123, allocations: 376.5 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.123, allocations: 0 / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/1.123, allocations: 8.797 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.123, allocations: 0.875 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/1.123, allocations: 1.359 kB / 1.274 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/1.123, allocations: 4.641 kB / 1.274 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.123, allocations: 4.938 kB / 1.274 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/1.123, allocations: 199.1 kB / 1.274 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/1.123, allocations: 84.86 kB / 1.274 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/1.123, allocations: 1.969 kB / 1.274 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.393e-05/1.123, allocations: 15.08 kB / 1.274 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/1.123, allocations: 3.031 kB / 1.274 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/1.123, allocations: 12.7 kB / 1.274 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.262e-05/1.123, allocations: 90.8 kB / 1.274 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.123, allocations: 0 / 1.274 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002727/1.124, allocations: 16.75 kB / 1.274 GB, free: 3.379 MB / 0.9981 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.0005913/1.124, allocations: 0.7487 MB / 1.275 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003038/1.125, allocations: 73.92 kB / 1.275 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.125, allocations: 0 / 1.275 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/1.125, allocations: 41.66 kB / 1.275 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/1.125, allocations: 18.77 kB / 1.275 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/1.127, allocations: 1.512 MB / 1.277 GB, free: 17.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/1.127, allocations: 0.6925 MB / 1.277 GB, free: 16.58 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.53e-05/1.127, allocations: 13.91 kB / 1.277 GB, free: 16.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/1.127, allocations: 22.94 kB / 1.277 GB, free: 16.56 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.127, allocations: 0.7812 kB / 1.277 GB, free: 16.56 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/1.155, allocations: 2.126 MB / 1.279 GB, free: 16.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.119/9.275, allocations: 9.906 kB / 1.279 GB, free: 16.14 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.493387249298394]