Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.0009854/0.0009854, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001124/0.001124, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.03/1.03, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.38/2.38, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.746e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001123/0.00114, allocations: 0.6683 MB / 0.8904 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.002307, allocations: 1.232 MB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.002348, allocations: 0 / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.002372, allocations: 3.938 kB / 0.8916 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.715e-05/0.002439, allocations: 7.922 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.002879, allocations: 219.4 kB / 0.8918 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.003034, allocations: 171.7 kB / 0.892 GB, free: 7.445 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.271e-05/0.003107, allocations: 11.98 kB / 0.892 GB, free: 7.434 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.003245, allocations: 95.86 kB / 0.8921 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.003334, allocations: 43.92 kB / 0.8921 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.003357, allocations: 16 kB / 0.8922 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.003413, allocations: 31.92 kB / 0.8922 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.00343, allocations: 11.92 kB / 0.8922 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.003473, allocations: 51.95 kB / 0.8922 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.003609, allocations: 131.7 kB / 0.8924 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.00361, allocations: 0 / 0.8924 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003611, allocations: 0 / 0.8924 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003614, allocations: 0 / 0.8924 GB, free: 7.059 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003322/0.003946, allocations: 479.7 kB / 0.8928 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.003979, allocations: 8.625 kB / 0.8928 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.00403, allocations: 12.89 kB / 0.8929 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.263e-05/0.004093, allocations: 112.6 kB / 0.893 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.004103, allocations: 4.375 kB / 0.893 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.004122, allocations: 12.38 kB / 0.893 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.782e-05/0.00418, allocations: 42.25 kB / 0.893 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.004185, allocations: 4.188 kB / 0.893 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.004194, allocations: 8.359 kB / 0.893 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.004198, allocations: 384 / 0.893 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.374e-05/0.004212, allocations: 11.88 kB / 0.893 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.004472, allocations: 312.3 kB / 0.8933 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.895e-05/0.004521, allocations: 35.05 kB / 0.8934 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.004539, allocations: 15.77 kB / 0.8934 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-06/0.004544, allocations: 3.938 kB / 0.8934 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.588e-05/0.00462, allocations: 80.97 kB / 0.8935 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.004621, allocations: 4 kB / 0.8935 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001866/0.004807, allocations: 93.55 kB / 0.8936 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.00484, allocations: 55.39 kB / 0.8936 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.004991, allocations: 177.9 kB / 0.8938 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.00501, allocations: 29.7 kB / 0.8938 GB, free: 5.406 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.005059, allocations: 142.8 kB / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.005071, allocations: 19.88 kB / 0.894 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.005128, allocations: 55.33 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.005223, allocations: 496.1 kB / 0.8945 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.005297, allocations: 103.4 kB / 0.8946 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.288e-05/0.00538, allocations: 148.4 kB / 0.8947 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.34e-05/0.005474, allocations: 162.2 kB / 0.8949 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005475, allocations: 0 / 0.8949 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002327/0.005708, allocations: 300.2 kB / 0.8952 GB, free: 3.879 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.005745, allocations: 71.33 kB / 0.8952 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.005749, allocations: 0 / 0.8952 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.005757, allocations: 4.125 kB / 0.8952 GB, free: 3.793 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.445e-05/0.005772, allocations: 11.92 kB / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.005775, allocations: 0 / 0.8953 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.005937, allocations: 43.92 kB / 0.8953 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.005967, allocations: 11.98 kB / 0.8953 GB, free: 3.727 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.31e-05/0.00605, allocations: 171.5 kB / 0.8955 GB, free: 3.551 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.006064, allocations: 7.953 kB / 0.8955 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.00609, allocations: 20.36 kB / 0.8955 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006092, allocations: 4 kB / 0.8955 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.006094, allocations: 0 / 0.8955 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.006096, allocations: 0 / 0.8955 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.599e-05/0.006172, allocations: 113.2 kB / 0.8956 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006174, allocations: 0 / 0.8956 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/0.006182, allocations: 7.938 kB / 0.8956 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.006183, allocations: 0 / 0.8956 GB, free: 3.375 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.006188, allocations: 4.062 kB / 0.8956 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.006189, allocations: 0 / 0.8956 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.006191, allocations: 3.938 kB / 0.8956 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.006292, allocations: 120.3 kB / 0.8957 GB, free: 3.227 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-06/0.006298, allocations: 8 kB / 0.8957 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-06/0.006306, allocations: 3.984 kB / 0.8958 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.217e-05/0.006319, allocations: 0 / 0.8958 GB, free: 3.215 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.006341, allocations: 7.938 kB / 0.8958 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.006345, allocations: 3.984 kB / 0.8958 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.006379, allocations: 131.2 kB / 0.8959 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006379, allocations: 0 / 0.8959 GB, free: 3.074 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001479/0.006527, allocations: 35.92 kB / 0.8959 GB, free: 3.039 MB / 0.8542 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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 8.979e-05/0.006617, allocations: 103.2 kB / 0.896 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001894/0.006806, allocations: 265.8 kB / 0.8963 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.006807, allocations: 0 / 0.8963 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.006836, allocations: 23.67 kB / 0.8963 GB, free: 2.602 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.006978, allocations: 16.53 kB / 0.8963 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.007179, allocations: 158.7 kB / 0.8965 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.962e-05/0.007209, allocations: 67.28 kB / 0.8965 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.733e-05/0.007226, allocations: 8.25 kB / 0.8965 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.352e-05/0.00732, allocations: 98.17 kB / 0.8966 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.00732, allocations: 0 / 0.8966 GB, free: 2.207 MB / 0.8542 GB Notification: Performance of Templates: time 0.003226/0.01055, allocations: 2.227 MB / 0.8988 GB, free: 16 kB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Or.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: 5.328890378121287]