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.001045/0.001045, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001617/0.001617, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9769/0.9769, allocations: 177.2 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.79/1.79, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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 2.255e-06/2.255e-06, allocations: 0 / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.528e-05/1.753e-05, allocations: 4.984 kB / 0.7871 GB, free: 11.35 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001131/0.001148, allocations: 0.7505 MB / 0.7878 GB, free: 10.62 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.002241, allocations: 1.195 MB / 0.789 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.002283, allocations: 0 / 0.789 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.00231, allocations: 4.594 kB / 0.789 GB, free: 9.406 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.002377, allocations: 12.7 kB / 0.789 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.002779, allocations: 136.2 kB / 0.7892 GB, free: 9.262 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.002919, allocations: 116.5 kB / 0.7893 GB, free: 9.148 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.003005, allocations: 19.97 kB / 0.7893 GB, free: 9.129 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.003112, allocations: 68.44 kB / 0.7894 GB, free: 9.062 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.003189, allocations: 36.52 kB / 0.7894 GB, free: 9.027 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.00321, allocations: 8 kB / 0.7894 GB, free: 9.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.057e-05/0.003261, allocations: 21.39 kB / 0.7894 GB, free: 9 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.003285, allocations: 15.98 kB / 0.7894 GB, free: 8.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.003334, allocations: 31.91 kB / 0.7895 GB, free: 8.953 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.003476, allocations: 103.7 kB / 0.7896 GB, free: 8.852 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003478, allocations: 0.8438 kB / 0.7896 GB, free: 8.852 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003478, allocations: 0 / 0.7896 GB, free: 8.852 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.003482, allocations: 0.5625 kB / 0.7896 GB, free: 8.852 MB / 0.698 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.000415/0.003897, allocations: 439 kB / 0.79 GB, free: 8.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.003935, allocations: 8.031 kB / 0.79 GB, free: 8.371 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.003987, allocations: 12.92 kB / 0.79 GB, free: 8.359 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.845e-05/0.004066, allocations: 118.1 kB / 0.7901 GB, free: 8.219 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.004078, allocations: 4.375 kB / 0.7901 GB, free: 8.215 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.004096, allocations: 8.375 kB / 0.7901 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.004212, allocations: 70.88 kB / 0.7902 GB, free: 8.129 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.004218, allocations: 1.406 kB / 0.7902 GB, free: 8.129 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.004227, allocations: 384 / 0.7902 GB, free: 8.129 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.004233, allocations: 384 / 0.7902 GB, free: 8.129 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.00427, allocations: 19.91 kB / 0.7902 GB, free: 8.109 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.004634, allocations: 312.4 kB / 0.7905 GB, free: 7.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.004738, allocations: 51.95 kB / 0.7906 GB, free: 7.707 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.004765, allocations: 16.33 kB / 0.7906 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.004774, allocations: 4 kB / 0.7906 GB, free: 7.684 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.213e-05/0.004866, allocations: 78.69 kB / 0.7907 GB, free: 7.594 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.004867, allocations: 0 / 0.7907 GB, free: 7.594 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001949/0.005062, allocations: 93.58 kB / 0.7907 GB, free: 7.496 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.005095, allocations: 60.42 kB / 0.7908 GB, free: 7.426 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.005174, allocations: 173.9 kB / 0.791 GB, free: 7.238 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.005191, allocations: 29.7 kB / 0.791 GB, free: 7.203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.005247, allocations: 146.1 kB / 0.7911 GB, free: 7.059 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.005268, allocations: 19.86 kB / 0.7912 GB, free: 7.039 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.005319, allocations: 47.3 kB / 0.7912 GB, free: 6.984 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.005428, allocations: 0.4923 MB / 0.7917 GB, free: 6.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.005499, allocations: 61.67 kB / 0.7917 GB, free: 6.414 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.00558, allocations: 112.1 kB / 0.7919 GB, free: 6.277 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.005683, allocations: 120.8 kB / 0.792 GB, free: 6.133 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.005685, allocations: 1.656 kB / 0.792 GB, free: 6.133 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002004/0.005885, allocations: 204.9 kB / 0.7922 GB, free: 5.914 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.005911, allocations: 37.64 kB / 0.7922 GB, free: 5.871 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.00592, allocations: 5.625 kB / 0.7922 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.005932, allocations: 0 / 0.7922 GB, free: 5.867 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.005993, allocations: 15.92 kB / 0.7922 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.005998, allocations: 0 / 0.7922 GB, free: 5.852 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.251e-05/0.00608, allocations: 29.31 kB / 0.7922 GB, free: 5.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.006094, allocations: 8 kB / 0.7923 GB, free: 5.816 MB / 0.698 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 7.318e-05/0.006167, allocations: 166.3 kB / 0.7924 GB, free: 5.645 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.006179, allocations: 15.88 kB / 0.7924 GB, free: 5.629 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.006203, allocations: 12.42 kB / 0.7924 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006204, allocations: 0.9062 kB / 0.7924 GB, free: 5.617 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.006208, allocations: 4 kB / 0.7924 GB, free: 5.613 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.006211, allocations: 0 / 0.7924 GB, free: 5.613 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.006439, allocations: 345.8 kB / 0.7928 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.00644, allocations: 0.5312 kB / 0.7928 GB, free: 5.234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.135e-05/0.006461, allocations: 5.156 kB / 0.7928 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.006462, allocations: 0 / 0.7928 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.00647, allocations: 0 / 0.7928 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.006471, allocations: 0.5312 kB / 0.7928 GB, free: 5.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.006472, allocations: 7.938 kB / 0.7928 GB, free: 5.223 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.006588, allocations: 228.8 kB / 0.793 GB, free: 4.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.006595, allocations: 9.266 kB / 0.793 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.006612, allocations: 7.984 kB / 0.793 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238e-05/0.006644, allocations: 4 kB / 0.793 GB, free: 4.961 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.006679, allocations: 7.984 kB / 0.793 GB, free: 4.953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.006686, allocations: 9.094 kB / 0.793 GB, free: 4.945 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.006728, allocations: 139.7 kB / 0.7932 GB, free: 4.809 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.006728, allocations: 0 / 0.7932 GB, free: 4.809 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001716/0.0069, allocations: 20.94 kB / 0.7932 GB, free: 4.789 MB / 0.698 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 9.851e-05/0.006999, allocations: 108 kB / 0.7933 GB, free: 4.676 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.007194, allocations: 177.5 kB / 0.7935 GB, free: 4.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007195, allocations: 0 / 0.7935 GB, free: 4.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.007232, allocations: 29.09 kB / 0.7935 GB, free: 4.449 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.007416, allocations: 20.05 kB / 0.7935 GB, free: 4.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.007684, allocations: 165.7 kB / 0.7937 GB, free: 4.242 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.694e-05/0.007721, allocations: 60.17 kB / 0.7937 GB, free: 4.164 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.007744, allocations: 7.984 kB / 0.7937 GB, free: 4.156 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.007768, allocations: 12.5 kB / 0.7938 GB, free: 4.145 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/0.007769, allocations: 0 / 0.7938 GB, free: 4.145 MB / 0.698 GB Notification: Performance of Templates: time 0.003353/0.01112, allocations: 1.711 MB / 0.7954 GB, free: 2.504 MB / 0.698 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9390841238200665]