Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.96/1.96, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001388, allocations: 183.3 kB / 393.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009005/0.0009005, allocations: 95 kB / 0.7935 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003996, allocations: 8 kB / 0.9224 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7151/0.7155, allocations: 121.3 MB / 1.041 GB, free: 58.96 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001069/0.7166, allocations: 396.1 kB / 1.041 GB, free: 58.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.7182, allocations: 1.414 MB / 1.043 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.7182, allocations: 1.375 kB / 1.043 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.7182, allocations: 1.875 kB / 1.043 GB, free: 57.65 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.752e-05/0.7183, allocations: 10.61 kB / 1.043 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005751/0.7189, allocations: 199.1 kB / 1.043 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.7191, allocations: 150.4 kB / 1.043 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.7192, allocations: 9.781 kB / 1.043 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.7193, allocations: 63.64 kB / 1.043 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.7194, allocations: 46.42 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.7194, allocations: 10.62 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.348e-05/0.7195, allocations: 20.78 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.7195, allocations: 17.84 kB / 1.043 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.417e-05/0.7196, allocations: 73.06 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.7198, allocations: 134.3 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.7198, allocations: 2.406 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7198, allocations: 0 / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.788e-06/0.7199, allocations: 0 / 1.043 GB, free: 57.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003776/0.7202, allocations: 415.1 kB / 1.044 GB, free: 56.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.7203, allocations: 8.688 kB / 1.044 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.7203, allocations: 8.625 kB / 1.044 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.506e-05/0.7204, allocations: 175.8 kB / 1.044 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.7205, allocations: 11.72 kB / 1.044 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.7205, allocations: 13.22 kB / 1.044 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.7206, allocations: 50.41 kB / 1.044 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.7206, allocations: 192 / 1.044 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7206, allocations: 7.688 kB / 1.044 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.7207, allocations: 0 / 1.044 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.472e-05/0.7207, allocations: 15.47 kB / 1.044 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.7211, allocations: 350.2 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.343e-05/0.7212, allocations: 41.19 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.7213, allocations: 14.84 kB / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.7213, allocations: 0 / 1.044 GB, free: 56.31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.7215, allocations: 84.48 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.7215, allocations: 0.7812 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002316/0.7217, allocations: 113 kB / 1.045 GB, free: 56.18 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.7217, allocations: 62.23 kB / 1.045 GB, free: 56.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.7218, allocations: 119.3 kB / 1.045 GB, free: 56.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.7218, allocations: 27.77 kB / 1.045 GB, free: 55.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.7219, allocations: 93.89 kB / 1.045 GB, free: 55.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.7219, allocations: 14.5 kB / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.7219, allocations: 4.188 kB / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/0.722, allocations: 322.6 kB / 1.045 GB, free: 55.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.7221, allocations: 55.92 kB / 1.045 GB, free: 55.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.7223, allocations: 95.36 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.7225, allocations: 163.6 kB / 1.046 GB, free: 55.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7225, allocations: 3.938 kB / 1.046 GB, free: 55.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004006/0.7229, allocations: 254.9 kB / 1.046 GB, free: 55.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.768e-05/0.723, allocations: 73.03 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.723, allocations: 5.406 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.723, allocations: 6.656 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-05/0.723, allocations: 0.5156 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.723, allocations: 3.25 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.7234, allocations: 80.98 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.7235, allocations: 12.78 kB / 1.046 GB, free: 55.11 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.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.531e-05/0.7236, allocations: 128.3 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.7236, allocations: 9.234 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.7236, allocations: 11.22 kB / 1.046 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.7236, allocations: 3.938 kB / 1.046 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7237, allocations: 0.9375 kB / 1.046 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7237, allocations: 0 / 1.046 GB, free: 54.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.7238, allocations: 174.3 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7238, allocations: 2.25 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-06/0.7238, allocations: 3.469 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7238, allocations: 4 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.7238, allocations: 3.438 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7238, allocations: 0 / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.7238, allocations: 0 / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.724, allocations: 105.6 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.747e-05/0.724, allocations: 85.64 kB / 1.046 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.724, allocations: 4.609 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.838e-05/0.724, allocations: 4.5 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.7241, allocations: 15.5 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.7241, allocations: 7.312 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.7241, allocations: 89.06 kB / 1.047 GB, free: 54.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.7242, allocations: 0 / 1.047 GB, free: 54.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002328/0.7244, allocations: 26.44 kB / 1.047 GB, free: 54.49 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 ($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.7246, allocations: 113.9 kB / 1.047 GB, free: 54.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.7249, allocations: 247.1 kB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7249, allocations: 4.062 kB / 1.047 GB, free: 54.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.734e-05/0.7249, allocations: 25.39 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.7252, allocations: 18.48 kB / 1.047 GB, free: 54.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.7255, allocations: 174.4 kB / 1.047 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.7256, allocations: 0.6881 MB / 1.048 GB, free: 53.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.7257, allocations: 7.234 kB / 1.048 GB, free: 53.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.7257, allocations: 10.16 kB / 1.048 GB, free: 53.35 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.7257, allocations: 0 / 1.048 GB, free: 53.35 MB / 0.698 GB Notification: Performance of Templates: time 0.004085/0.7298, allocations: 1.744 MB / 1.05 GB, free: 53.2 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (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=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1)