Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.764/2.764, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.144e-05/3.381e-05, allocations: 9.266 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002125/0.002159, allocations: 0.7358 MB / 0.7871 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001988/0.004147, allocations: 1.176 MB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.004204, allocations: 0.5625 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.004239, allocations: 3.938 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.004323, allocations: 17.02 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005528/0.004876, allocations: 132.1 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.005093, allocations: 124.7 kB / 0.7885 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.005193, allocations: 11.98 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.005344, allocations: 72.84 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.005443, allocations: 31.95 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.005474, allocations: 8 kB / 0.7886 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.005546, allocations: 20.64 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.005579, allocations: 15.92 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.005654, allocations: 33.56 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.005903, allocations: 131.6 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.005907, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.222e-06/0.005908, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.005913, allocations: 7.406 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000697/0.00661, allocations: 335.8 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.006651, allocations: 8.031 kB / 0.7892 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.006739, allocations: 12.88 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.006873, allocations: 113.7 kB / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.006897, allocations: 8.359 kB / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.006926, allocations: 8.375 kB / 0.7893 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.007142, allocations: 63.05 kB / 0.7894 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.007153, allocations: 8.109 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.007168, allocations: 4.359 kB / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.007173, allocations: 0.9688 kB / 0.7894 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.007371, allocations: 41.41 kB / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.007927, allocations: 268.4 kB / 0.7897 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.008126, allocations: 52.08 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.008244, allocations: 30.25 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.008261, allocations: 4 kB / 0.7898 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.008554, allocations: 95.8 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.008556, allocations: 1.375 kB / 0.7899 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005418/0.009098, allocations: 147.1 kB / 0.79 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.009151, allocations: 55.41 kB / 0.79 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.009273, allocations: 117.8 kB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.00931, allocations: 33.64 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.009394, allocations: 96.61 kB / 0.7903 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.009423, allocations: 19.91 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.00951, allocations: 39.11 kB / 0.7903 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.009712, allocations: 322.8 kB / 0.7906 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.009915, allocations: 81.66 kB / 0.7907 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.01015, allocations: 117.1 kB / 0.7908 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.01047, allocations: 140.4 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01047, allocations: 0.7188 kB / 0.791 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005749/0.01105, allocations: 246.2 kB / 0.7912 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/0.0111, allocations: 47.5 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01111, allocations: 0 / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.01113, allocations: 5.094 kB / 0.7913 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.854e-05/0.01123, allocations: 11.98 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.01124, allocations: 0.5625 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.01146, allocations: 40.92 kB / 0.7913 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.01149, allocations: 12.91 kB / 0.7913 GB, free: 7.48 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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.0001464/0.01164, allocations: 122.6 kB / 0.7914 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.01166, allocations: 11.89 kB / 0.7914 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/0.01169, allocations: 12.42 kB / 0.7915 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.01169, allocations: 6.219 kB / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01169, allocations: 0 / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.0117, allocations: 0 / 0.7915 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.01222, allocations: 322 kB / 0.7918 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01222, allocations: 2.688 kB / 0.7918 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.023e-05/0.01228, allocations: 11.98 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01228, allocations: 0 / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.01229, allocations: 0 / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.01229, allocations: 0 / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01229, allocations: 0 / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.01267, allocations: 212.9 kB / 0.792 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.01268, allocations: 11.89 kB / 0.792 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.0127, allocations: 0 / 0.792 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.0128, allocations: 8.484 kB / 0.792 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.01284, allocations: 9.609 kB / 0.792 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.01286, allocations: 8 kB / 0.792 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.359e-05/0.01293, allocations: 91.81 kB / 0.7921 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01293, allocations: 0 / 0.7921 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002784/0.01321, allocations: 20 kB / 0.7921 GB, free: 6.598 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002011/0.01341, allocations: 104.6 kB / 0.7922 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000448/0.01386, allocations: 194.7 kB / 0.7924 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01386, allocations: 0 / 0.7924 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.01399, allocations: 36.83 kB / 0.7925 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.01431, allocations: 24.81 kB / 0.7925 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.01476, allocations: 165.1 kB / 0.7926 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.425e-05/0.01485, allocations: 75.27 kB / 0.7927 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.296e-05/0.01489, allocations: 4 kB / 0.7927 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.01493, allocations: 16.48 kB / 0.7927 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of SimCode: time 4.3e-07/0.01493, allocations: 0 / 0.7927 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.005185/0.02011, allocations: 1.578 MB / 0.7943 GB, free: 4.387 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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: 7.888528162962757]