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.001409/0.001409, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001541/0.001541, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.594/3.594, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.264e-06/2.264e-06, allocations: 0 / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.484e-05/3.71e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001977/0.002014, allocations: 0.6522 MB / 0.8782 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.003949, allocations: 1.209 MB / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.684e-05/0.003996, allocations: 0 / 0.8794 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.004027, allocations: 4.5 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.345e-05/0.004111, allocations: 14.66 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000696/0.004807, allocations: 209.6 kB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.005088, allocations: 171.7 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.005175, allocations: 7.984 kB / 0.8798 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.005369, allocations: 96.89 kB / 0.8799 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.005515, allocations: 51.84 kB / 0.88 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.005558, allocations: 17.06 kB / 0.88 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.005642, allocations: 27.98 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.005669, allocations: 11.98 kB / 0.88 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.005776, allocations: 49 kB / 0.8801 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.006087, allocations: 183.5 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006089, allocations: 0 / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.00609, allocations: 1.094 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.006095, allocations: 0 / 0.8802 GB, free: 3.832 MB / 0.8386 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.0007094/0.006804, allocations: 357.5 kB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.006846, allocations: 12.75 kB / 0.8806 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.481e-05/0.006931, allocations: 8.938 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.007068, allocations: 119.2 kB / 0.8807 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.007092, allocations: 8.375 kB / 0.8807 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.007128, allocations: 8.375 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.007252, allocations: 50.23 kB / 0.8808 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.007261, allocations: 1.75 kB / 0.8808 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.007275, allocations: 8.312 kB / 0.8808 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.00728, allocations: 384 / 0.8808 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.373e-05/0.007333, allocations: 19.92 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.007915, allocations: 265.4 kB / 0.8811 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.847e-05/0.008013, allocations: 38.56 kB / 0.8811 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.008044, allocations: 9.953 kB / 0.8811 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.008057, allocations: 96 / 0.8811 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.008286, allocations: 99.23 kB / 0.8812 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.008288, allocations: 1.531 kB / 0.8812 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003167/0.008604, allocations: 109.6 kB / 0.8813 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.008655, allocations: 51.41 kB / 0.8814 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.008783, allocations: 125.8 kB / 0.8815 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.008824, allocations: 32.98 kB / 0.8815 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.008906, allocations: 88.14 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.00893, allocations: 15.89 kB / 0.8816 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.009039, allocations: 49.69 kB / 0.8817 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.009214, allocations: 322.8 kB / 0.882 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.009415, allocations: 115.4 kB / 0.8821 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.009648, allocations: 159.6 kB / 0.8822 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.009878, allocations: 152.9 kB / 0.8824 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.009881, allocations: 4 kB / 0.8824 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005758/0.01046, allocations: 344.2 kB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.177e-05/0.01054, allocations: 67.39 kB / 0.8828 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01054, allocations: 0 / 0.8828 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.01056, allocations: 4 kB / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.952e-05/0.01058, allocations: 0 / 0.8828 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.01059, allocations: 7.938 kB / 0.8828 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.01097, allocations: 59.95 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.01101, allocations: 15.98 kB / 0.8828 GB, free: 0.875 MB / 0.8386 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 0.0001194/0.01113, allocations: 117.8 kB / 0.883 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.01115, allocations: 15.92 kB / 0.883 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.01118, allocations: 8.438 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01118, allocations: 0 / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.01118, allocations: 0 / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01119, allocations: 0 / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.01132, allocations: 121.2 kB / 0.8831 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.01132, allocations: 4 kB / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.466e-06/0.01133, allocations: 0 / 0.8831 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.01134, allocations: 11.92 kB / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.01135, allocations: 0 / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01135, allocations: 0 / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01135, allocations: 0 / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.0116, allocations: 121.3 kB / 0.8832 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.304e-05/0.01162, allocations: 7.953 kB / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.01164, allocations: 7.938 kB / 0.8832 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.01166, allocations: 0 / 0.8832 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.0117, allocations: 11.98 kB / 0.8833 GB, free: 408 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.01171, allocations: 4 kB / 0.8833 GB, free: 404 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.888e-05/0.01178, allocations: 91.27 kB / 0.8833 GB, free: 312 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01178, allocations: 0 / 0.8833 GB, free: 312 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002598/0.01204, allocations: 31.94 kB / 0.8834 GB, free: 280 kB / 0.8386 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 0.0001618/0.0122, allocations: 103.2 kB / 0.8835 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.01264, allocations: 274.2 kB / 0.8837 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01264, allocations: 3.938 kB / 0.8837 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.715e-05/0.01269, allocations: 28.22 kB / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.01295, allocations: 24.86 kB / 0.8838 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.01336, allocations: 153.1 kB / 0.8839 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.456e-05/0.01344, allocations: 79.33 kB / 0.884 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.038e-05/0.01347, allocations: 7.859 kB / 0.884 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.0135, allocations: 8.5 kB / 0.884 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/0.0135, allocations: 4 kB / 0.884 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of Templates: time 0.006051/0.01955, allocations: 2.065 MB / 0.8861 GB, free: 13.5 MB / 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.619957690010779]