Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.002455/0.002455, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002916/0.002916, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.646/1.646, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.866/2.866, allocations: 359 MB / 0.6048 GB, free: 10.95 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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.607e-06/3.607e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.158e-05/4.519e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.003345/0.00339, allocations: 0.7436 MB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.006171, allocations: 1.175 MB / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.169e-05/0.006253, allocations: 0 / 0.7883 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.319e-05/0.006306, allocations: 7.875 kB / 0.7883 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.006437, allocations: 16.98 kB / 0.7883 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008011/0.007238, allocations: 133.1 kB / 0.7884 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.007564, allocations: 115.8 kB / 0.7885 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.007718, allocations: 11.98 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.007937, allocations: 73.38 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.008096, allocations: 39.92 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.757e-05/0.008144, allocations: 12 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.008244, allocations: 16 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.008284, allocations: 16.98 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.939e-05/0.008384, allocations: 31.97 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.008718, allocations: 127.7 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.008722, allocations: 0.5625 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.372e-06/0.008724, allocations: 1.156 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.008729, allocations: 0 / 0.7888 GB, free: 10.29 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.0009433/0.009672, allocations: 437.7 kB / 0.7893 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.009723, allocations: 10.22 kB / 0.7893 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.019e-05/0.009813, allocations: 12.88 kB / 0.7893 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.009998, allocations: 116.5 kB / 0.7894 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.01003, allocations: 8.375 kB / 0.7894 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.01006, allocations: 8.375 kB / 0.7894 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.01029, allocations: 58.22 kB / 0.7895 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.0103, allocations: 6.156 kB / 0.7895 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.01032, allocations: 8.359 kB / 0.7895 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.01033, allocations: 384 / 0.7895 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.01052, allocations: 27.92 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007614/0.01128, allocations: 320.3 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.01154, allocations: 63.62 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.01167, allocations: 29.45 kB / 0.7899 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.01169, allocations: 4 kB / 0.7899 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/0.01198, allocations: 96.89 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 4.749e-06/0.01198, allocations: 4.641 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0005725/0.01256, allocations: 130.7 kB / 0.7901 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.01262, allocations: 51.41 kB / 0.7902 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.01286, allocations: 191 kB / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.01291, allocations: 33.7 kB / 0.7904 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.01305, allocations: 138.8 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.0131, allocations: 25.2 kB / 0.7905 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.01324, allocations: 47.36 kB / 0.7906 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003762/0.01361, allocations: 0.4884 MB / 0.7911 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.01388, allocations: 89.67 kB / 0.7912 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.01419, allocations: 129.9 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.01458, allocations: 149 kB / 0.7914 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.01458, allocations: 0 / 0.7914 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007447/0.01533, allocations: 258.3 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-05/0.0154, allocations: 46.94 kB / 0.7917 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.0154, allocations: 0 / 0.7917 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.01542, allocations: 0 / 0.7917 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.01554, allocations: 11.03 kB / 0.7917 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.01555, allocations: 7.984 kB / 0.7917 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.0158, allocations: 23.92 kB / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.01584, allocations: 8 kB / 0.7918 GB, free: 7.027 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,edge1.y,edge1.u,$PRE.edge1.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.0002057/0.01604, allocations: 172.5 kB / 0.7919 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.01608, allocations: 11.89 kB / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.01612, allocations: 12.94 kB / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01612, allocations: 1.938 kB / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.01613, allocations: 0 / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01613, allocations: 0 / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006983/0.01683, allocations: 373.3 kB / 0.7923 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01683, allocations: 2.594 kB / 0.7923 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.397e-05/0.01688, allocations: 4 kB / 0.7923 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.01689, allocations: 4 kB / 0.7923 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01691, allocations: 3.984 kB / 0.7923 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01691, allocations: 0 / 0.7923 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01691, allocations: 0 / 0.7923 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.01737, allocations: 247.8 kB / 0.7926 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.0174, allocations: 16.72 kB / 0.7926 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.01742, allocations: 4 kB / 0.7926 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.01755, allocations: 4.844 kB / 0.7926 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.01762, allocations: 7.984 kB / 0.7926 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.01763, allocations: 1.281 kB / 0.7926 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001444/0.01777, allocations: 143.2 kB / 0.7927 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01777, allocations: 0 / 0.7927 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004731/0.01824, allocations: 20.84 kB / 0.7927 GB, free: 5.957 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0002499/0.01849, allocations: 103.8 kB / 0.7928 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006055/0.0191, allocations: 215.5 kB / 0.7931 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0191, allocations: 0 / 0.7931 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001796/0.01928, allocations: 48.08 kB / 0.7931 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.01975, allocations: 12.08 kB / 0.7931 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005859/0.02034, allocations: 184.9 kB / 0.7933 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.02047, allocations: 75.27 kB / 0.7934 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.71e-05/0.02051, allocations: 4.969 kB / 0.7934 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.02057, allocations: 12.5 kB / 0.7934 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of SimCode: time 9.02e-07/0.02057, allocations: 0 / 0.7934 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.007315/0.02788, allocations: 1.595 MB / 0.7949 GB, free: 3.691 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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: 8.165256380918436]