Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002284/0.002284, allocations: 104.5 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 443.5 MB / 0.731 GB, free: 12.78 MB / 0.5919 GB [Timeout remaining time 87] 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: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|booPul.y|sin1.y|triSam.y|triSam1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 75.89 kB / 1.06 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8211/0.8232, allocations: 160.7 MB / 1.217 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002252/0.8254, allocations: 0.7655 MB / 1.217 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.8272, allocations: 1.166 MB / 1.218 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.8273, allocations: 1.062 kB / 1.218 GB, free: 2.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.8273, allocations: 3.938 kB / 1.218 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.333e-05/0.8274, allocations: 14.05 kB / 1.218 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.828, allocations: 146.3 kB / 1.219 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.8282, allocations: 116.1 kB / 1.219 GB, free: 2.223 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.8283, allocations: 21.84 kB / 1.219 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.821e-05/0.8284, allocations: 49.62 kB / 1.219 GB, free: 2.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.8285, allocations: 47.94 kB / 1.219 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.8286, allocations: 15.38 kB / 1.219 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.8286, allocations: 29.09 kB / 1.219 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.8287, allocations: 15.61 kB / 1.219 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.8288, allocations: 40.14 kB / 1.219 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.829, allocations: 124.9 kB / 1.219 GB, free: 1.996 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.829, allocations: 0 / 1.219 GB, free: 1.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.829, allocations: 1.281 kB / 1.219 GB, free: 1.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.829, allocations: 0 / 1.219 GB, free: 1.996 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000688/0.8297, allocations: 433.7 kB / 1.219 GB, free: 1.555 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.8297, allocations: 10.38 kB / 1.219 GB, free: 1.555 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.054e-05/0.8298, allocations: 9.984 kB / 1.219 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.8299, allocations: 176.4 kB / 1.22 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.8299, allocations: 3.906 kB / 1.22 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.83, allocations: 11.72 kB / 1.22 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.8302, allocations: 75.45 kB / 1.22 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.8302, allocations: 5.094 kB / 1.22 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.8302, allocations: 0 / 1.22 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.8302, allocations: 5.125 kB / 1.22 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.8304, allocations: 49.95 kB / 1.22 GB, free: 1.25 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.8309, allocations: 344.6 kB / 1.22 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.8311, allocations: 53.55 kB / 1.22 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.8312, allocations: 34 kB / 1.22 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.8312, allocations: 8.797 kB / 1.22 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.8314, allocations: 93.03 kB / 1.22 GB, free: 0.75 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.8314, allocations: 0 / 1.22 GB, free: 0.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0004519/0.8319, allocations: 148.3 kB / 1.22 GB, free: 0.668 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.8319, allocations: 53.53 kB / 1.22 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.832, allocations: 123.4 kB / 1.221 GB, free: 500 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.8321, allocations: 32.23 kB / 1.221 GB, free: 464 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.8321, allocations: 88.14 kB / 1.221 GB, free: 376 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.8322, allocations: 27.38 kB / 1.221 GB, free: 352 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.8322, allocations: 37.52 kB / 1.221 GB, free: 324 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.8324, allocations: 321.1 kB / 1.221 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.8326, allocations: 55.31 kB / 1.221 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001884/0.8328, allocations: 95.83 kB / 1.221 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.8331, allocations: 147.1 kB / 1.221 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.8331, allocations: 1.125 kB / 1.221 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004618/0.8335, allocations: 215.8 kB / 1.222 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.8336, allocations: 37.41 kB / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8336, allocations: 1.062 kB / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.8336, allocations: 2.625 kB / 1.222 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.8337, allocations: 18.23 kB / 1.222 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.8337, allocations: 5.75 kB / 1.222 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.8339, allocations: 33.05 kB / 1.222 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.8339, allocations: 10.38 kB / 1.222 GB, free: 15.56 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001106/0.834, allocations: 126.6 kB / 1.222 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.8341, allocations: 7.234 kB / 1.222 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.8344, allocations: 132.4 kB / 1.222 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.8344, allocations: 1.156 kB / 1.222 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.8344, allocations: 0 / 1.222 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8344, allocations: 0.75 kB / 1.222 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004635/0.8349, allocations: 382 kB / 1.222 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8349, allocations: 0 / 1.222 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.8349, allocations: 15.5 kB / 1.222 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.8349, allocations: 3.984 kB / 1.222 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.8349, allocations: 1.125 kB / 1.222 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.8349, allocations: 5.062 kB / 1.222 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8349, allocations: 3.938 kB / 1.222 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.8353, allocations: 213.3 kB / 1.223 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.8353, allocations: 83.81 kB / 1.223 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.8353, allocations: 0 / 1.223 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.361e-05/0.8354, allocations: 8.047 kB / 1.223 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.8355, allocations: 15.48 kB / 1.223 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.8355, allocations: 2.219 kB / 1.223 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.022e-05/0.8355, allocations: 100 kB / 1.223 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8355, allocations: 0 / 1.223 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002696/0.8358, allocations: 24.91 kB / 1.223 GB, free: 14.58 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001469/0.836, allocations: 103.1 kB / 1.223 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.8364, allocations: 164.7 kB / 1.223 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8364, allocations: 5.406 kB / 1.223 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.8365, allocations: 41.45 kB / 1.223 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.8368, allocations: 10.3 kB / 1.223 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004337/0.8372, allocations: 209.5 kB / 1.223 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.8376, allocations: 0.6936 MB / 1.224 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.8376, allocations: 15.81 kB / 1.224 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.8376, allocations: 0 / 1.224 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.003296/0.8409, allocations: 1.286 MB / 1.225 GB, free: 12.79 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Discrete_Examples_TriggeredSampler.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches