Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00172/0.00172, allocations: 105.8 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.001809/0.001809, 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.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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.671/2.671, allocations: 443.5 MB / 0.7287 GB, free: 14.66 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.SampleTrigger,fileNamePrefix="Buildings_10_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_10_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.002186/0.002186, allocations: 67.83 kB / 1.056 GB, free: 2.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.34, allocations: 160.7 MB / 1.213 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002325/0.3424, allocations: 0.7523 MB / 1.214 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.344, allocations: 1.078 MB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.3441, allocations: 0 / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.581e-05/0.3441, allocations: 7.938 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.972e-05/0.3442, allocations: 23.84 kB / 1.215 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.3446, allocations: 47.83 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3448, allocations: 75.77 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3449, allocations: 16.12 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.345, allocations: 23.92 kB / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.615e-05/0.3451, allocations: 39.83 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3451, allocations: 4 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3452, allocations: 23.92 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.3453, allocations: 23.92 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.3453, allocations: 31.84 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.3455, allocations: 75.97 kB / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3455, allocations: 0 / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3455, allocations: 0 / 1.215 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3455, allocations: 4 kB / 1.215 GB, free: 15.2 MB / 0.9669 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.0006629/0.3462, allocations: 383.1 kB / 1.215 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3462, allocations: 12.03 kB / 1.215 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.3463, allocations: 34.75 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.3463, allocations: 12.89 kB / 1.216 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3465, allocations: 168.3 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.3465, allocations: 8.297 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.3465, allocations: 8.375 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3467, allocations: 65.98 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3467, allocations: 0 / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3468, allocations: 0 / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3468, allocations: 4 kB / 1.216 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.3469, allocations: 47.95 kB / 1.216 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.3476, allocations: 320.6 kB / 1.216 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3478, allocations: 58.48 kB / 1.216 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.3479, allocations: 28.97 kB / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3479, allocations: 0 / 1.216 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002655/0.3482, allocations: 83.36 kB / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3482, allocations: 0 / 1.216 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004521/0.3487, allocations: 133.6 kB / 1.216 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3487, allocations: 55.41 kB / 1.216 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3488, allocations: 125.8 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3489, allocations: 29.7 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.3489, allocations: 88.14 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.349, allocations: 11.91 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.349, allocations: 33.64 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3492, allocations: 322.8 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3493, allocations: 35.91 kB / 1.217 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.3494, allocations: 69.98 kB / 1.217 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.3497, allocations: 113.9 kB / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3497, allocations: 0 / 1.217 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003265/0.35, allocations: 133.4 kB / 1.217 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.35, allocations: 4 kB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.35, allocations: 4 kB / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.35, allocations: 0 / 1.217 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.3502, allocations: 19.98 kB / 1.217 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3502, allocations: 0 / 1.217 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.562e-05/0.3503, allocations: 23.88 kB / 1.217 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3503, allocations: 8.219 kB / 1.217 GB, free: 12.53 MB / 0.9669 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.0001147/0.3504, allocations: 121.7 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.3504, allocations: 19.86 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.3505, allocations: 8.375 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3505, allocations: 0 / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3505, allocations: 0 / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3505, allocations: 4 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005999/0.3511, allocations: 374.4 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3511, allocations: 0 / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.3511, allocations: 12 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3511, allocations: 3.984 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3511, allocations: 0 / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.3512, allocations: 3.938 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3512, allocations: 0 / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.3515, allocations: 211.4 kB / 1.218 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.3515, allocations: 85.05 kB / 1.218 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3515, allocations: 0 / 1.218 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.527e-05/0.3516, allocations: 7.938 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3517, allocations: 7.984 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3517, allocations: 4 kB / 1.218 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.413e-05/0.3517, allocations: 95.27 kB / 1.218 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3517, allocations: 0 / 1.218 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002648/0.352, allocations: 19.94 kB / 1.218 GB, free: 11.47 MB / 0.9669 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.0007031/0.3527, allocations: 0.7368 MB / 1.219 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.353, allocations: 79.88 kB / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.353, allocations: 0 / 1.219 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.3531, allocations: 31.97 kB / 1.219 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.3534, allocations: 19.86 kB / 1.219 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3555, allocations: 1.529 MB / 1.221 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3559, allocations: 0.6846 MB / 1.221 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.249e-05/0.3559, allocations: 11.98 kB / 1.221 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.356, allocations: 23.44 kB / 1.221 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of SimCode: time 1.022e-06/0.356, allocations: 0 / 1.221 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.3837, allocations: 2.122 MB / 1.223 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.387, allocations: 5.25 kB / 1.223 GB, free: 6.215 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.604517051018775]