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.Change.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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.88/1.88, 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.00116/0.00116, allocations: 182.7 kB / 393.1 MB, free: 4.062 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.572/1.572, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0009102/0.0009102, allocations: 102.6 kB / 0.7935 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004244, allocations: 8 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7292, allocations: 121.3 MB / 1.041 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.0009999/0.7302, allocations: 481 kB / 1.041 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.7316, allocations: 1.29 MB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.7317, allocations: 0.5312 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.7317, allocations: 5.25 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.7318, allocations: 8.641 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004553/0.7322, allocations: 117.6 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.7324, allocations: 108.8 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.7325, allocations: 12.17 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.7326, allocations: 41.17 kB / 1.043 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.7326, allocations: 35.41 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.7327, allocations: 11.17 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.968e-05/0.7327, allocations: 14.08 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.7328, allocations: 12.23 kB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.066e-05/0.7329, allocations: 65.38 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.733, allocations: 99.64 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.733, allocations: 0.875 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/0.733, allocations: 0 / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.7331, allocations: 1.969 kB / 1.043 GB, free: 56.5 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.0004875/0.7336, allocations: 398.9 kB / 1.043 GB, free: 56.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.7336, allocations: 13.56 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.7336, allocations: 13.22 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.593e-05/0.7337, allocations: 178.2 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.7338, allocations: 4.625 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.7338, allocations: 5.656 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.734, allocations: 68.28 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.734, allocations: 192 / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.734, allocations: 8.719 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.7341, allocations: 0 / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.7342, allocations: 54.03 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.7347, allocations: 332 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.7348, allocations: 67.08 kB / 1.044 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.735, allocations: 43.11 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.735, allocations: 0.7188 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.7352, allocations: 98.81 kB / 1.044 GB, free: 55.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 2.305e-06/0.7352, allocations: 2.906 kB / 1.044 GB, free: 55.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004069/0.7356, allocations: 155.5 kB / 1.044 GB, free: 55.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.7357, allocations: 57.19 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.999e-05/0.7358, allocations: 117.7 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.7358, allocations: 29.48 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.7359, allocations: 91.47 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.7359, allocations: 25.7 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.429e-05/0.7359, allocations: 11.03 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/0.736, allocations: 320.4 kB / 1.045 GB, free: 54.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.7362, allocations: 63.89 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.7363, allocations: 85.81 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.7366, allocations: 154.5 kB / 1.045 GB, free: 54.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7367, allocations: 5.406 kB / 1.045 GB, free: 54.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004397/0.7371, allocations: 211.6 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.7371, allocations: 40.83 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.7372, allocations: 4.281 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7372, allocations: 8.062 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.7373, allocations: 12.41 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.7373, allocations: 6.188 kB / 1.046 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.7375, allocations: 55.25 kB / 1.046 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.7376, allocations: 4.438 kB / 1.046 GB, free: 54.39 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * 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 9.402e-05/0.7377, allocations: 127.9 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.7377, allocations: 6.844 kB / 1.046 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.7377, allocations: 11.94 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.7377, allocations: 0.8438 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.7377, allocations: 0 / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7377, allocations: 0.5625 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.7382, allocations: 393.8 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7382, allocations: 0 / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.7383, allocations: 10.44 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7383, allocations: 4 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.7383, allocations: 7.375 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7383, allocations: 0 / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7383, allocations: 4.062 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.7386, allocations: 218.2 kB / 1.046 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.7386, allocations: 86.95 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.7386, allocations: 2.328 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.7387, allocations: 12.23 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.7388, allocations: 7.688 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.7388, allocations: 6.75 kB / 1.047 GB, free: 53.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.7388, allocations: 95.06 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7389, allocations: 4 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000243/0.7391, allocations: 24.69 kB / 1.047 GB, free: 53.55 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.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 0.0001653/0.7393, allocations: 114.7 kB / 1.047 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.7396, allocations: 189.8 kB / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7396, allocations: 0 / 1.047 GB, free: 53.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.7398, allocations: 45.05 kB / 1.047 GB, free: 53.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.74, allocations: 18.83 kB / 1.047 GB, free: 53.33 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.7404, allocations: 188.6 kB / 1.047 GB, free: 53.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.7405, allocations: 0.6884 MB / 1.048 GB, free: 52.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.46e-05/0.7406, allocations: 7.734 kB / 1.048 GB, free: 52.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.7406, allocations: 10.22 kB / 1.048 GB, free: 52.48 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.7406, allocations: 0 / 1.048 GB, free: 52.48 MB / 0.698 GB Notification: Performance of Templates: time 0.004115/0.7447, allocations: 1.326 MB / 1.049 GB, free: 52.36 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)