Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0009686/0.0009686, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009563/0.0009563, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.029/1.029, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.968/1.968, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.159e-05/3.449e-05, allocations: 11.25 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002445/0.002479, allocations: 0.67 MB / 0.7607 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001932/0.004411, allocations: 1.24 MB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.989e-05/0.004471, allocations: 0.6562 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.004507, allocations: 3.938 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.004615, allocations: 17.05 kB / 0.7619 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008528/0.005468, allocations: 209.3 kB / 0.7621 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.005804, allocations: 176.9 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.005902, allocations: 5.547 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/0.00609, allocations: 93.67 kB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.006242, allocations: 57.44 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.006282, allocations: 16 kB / 0.7625 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.797e-05/0.00637, allocations: 23.98 kB / 0.7625 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.552e-05/0.006395, allocations: 8 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.481e-05/0.00647, allocations: 52.91 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.006715, allocations: 139.6 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.006718, allocations: 0 / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.00672, allocations: 2 kB / 0.7627 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.006724, allocations: 0 / 0.7627 GB, free: 3.949 MB / 0.7136 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.0004992/0.007224, allocations: 332.2 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.007267, allocations: 12.03 kB / 0.763 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.706e-05/0.007324, allocations: 12.92 kB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.007435, allocations: 114.4 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.007456, allocations: 4.375 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.007493, allocations: 13.12 kB / 0.7631 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.315e-05/0.007586, allocations: 42.23 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.007594, allocations: 0.9375 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.007602, allocations: 384 / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.007608, allocations: 2.562 kB / 0.7632 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.007628, allocations: 7.938 kB / 0.7632 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003595/0.007988, allocations: 188.1 kB / 0.7634 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.586e-05/0.008074, allocations: 30.62 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.904e-05/0.008093, allocations: 8.859 kB / 0.7634 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.008102, allocations: 5.453 kB / 0.7634 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001279/0.00823, allocations: 79.39 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.008232, allocations: 0 / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001657/0.008398, allocations: 74.8 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.008438, allocations: 55.41 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.008525, allocations: 122.7 kB / 0.7637 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.008553, allocations: 29.7 kB / 0.7638 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.008609, allocations: 93.34 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.008625, allocations: 11.94 kB / 0.7639 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.529e-05/0.00871, allocations: 41.67 kB / 0.7639 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.008812, allocations: 325.9 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.008931, allocations: 95.38 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.00905, allocations: 135.6 kB / 0.7644 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.009188, allocations: 139.6 kB / 0.7646 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.009192, allocations: 4 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002844/0.009476, allocations: 255.1 kB / 0.7648 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.009534, allocations: 67.39 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.009543, allocations: 11.88 kB / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.009559, allocations: 64 / 0.7649 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.327e-05/0.009583, allocations: 8 kB / 0.7649 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.009587, allocations: 5.297 kB / 0.7649 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.009802, allocations: 39.92 kB / 0.7649 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.009829, allocations: 12.64 kB / 0.7649 GB, free: 1.359 MB / 0.7136 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,and1.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 9.157e-05/0.00992, allocations: 126.2 kB / 0.7651 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.009936, allocations: 11.02 kB / 0.7651 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.009968, allocations: 12.38 kB / 0.7651 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.009972, allocations: 4 kB / 0.7651 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.009975, allocations: 0 / 0.7651 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.009978, allocations: 0 / 0.7651 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.164e-05/0.01007, allocations: 73.88 kB / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.01007, allocations: 0 / 0.7652 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.01008, allocations: 4 kB / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01009, allocations: 3.125 kB / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.01009, allocations: 0 / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01009, allocations: 0 / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.0101, allocations: 3.938 kB / 0.7652 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.01021, allocations: 89.03 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.01022, allocations: 7.953 kB / 0.7653 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.01024, allocations: 3.984 kB / 0.7653 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.67e-05/0.01026, allocations: 0 / 0.7653 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.0103, allocations: 11.92 kB / 0.7653 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.0103, allocations: 5.812 kB / 0.7653 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.227e-05/0.01033, allocations: 17.27 kB / 0.7653 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.01033, allocations: 0 / 0.7653 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002358/0.01056, allocations: 31.98 kB / 0.7653 GB, free: 0.918 MB / 0.7136 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,and1.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 0.0001418/0.0107, allocations: 81.27 kB / 0.7654 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.01097, allocations: 264.6 kB / 0.7657 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.01097, allocations: 0 / 0.7657 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.011, allocations: 28.77 kB / 0.7657 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.01116, allocations: 18.73 kB / 0.7657 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.01147, allocations: 153.1 kB / 0.7659 GB, free: 320 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.01151, allocations: 59.3 kB / 0.7659 GB, free: 240 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.913e-05/0.01154, allocations: 4 kB / 0.7659 GB, free: 236 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.01167, allocations: 87.28 kB / 0.766 GB, free: 148 kB / 0.7136 GB Notification: Performance of SimCode: time 8.02e-07/0.01167, allocations: 0 / 0.766 GB, free: 148 kB / 0.7136 GB Notification: Performance of Templates: time 0.005326/0.017, allocations: 2.225 MB / 0.7682 GB, free: 14.05 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.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.195805557072163]