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.And.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.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.793/1.793, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.001005/0.001005, allocations: 175.5 kB / 393.1 MB, free: 4.098 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.633/1.633, allocations: 225.7 MB / 0.6743 GB, free: 12.62 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.000913/0.0009129, allocations: 90.12 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004549, allocations: 13.47 kB / 0.9224 GB, free: 8.68 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9194, allocations: 121.3 MB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0009301/0.9204, allocations: 390.2 kB / 1.041 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001738/0.9222, allocations: 1.416 MB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.9222, allocations: 0 / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.9223, allocations: 3.938 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.754e-05/0.9224, allocations: 11.03 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.923, allocations: 206 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.9232, allocations: 146.5 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.9233, allocations: 14.17 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.9235, allocations: 57.66 kB / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.9236, allocations: 50.84 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.893e-05/0.9236, allocations: 7.156 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-05/0.9237, allocations: 19 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.9237, allocations: 15.3 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.76e-05/0.9238, allocations: 75.84 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.9241, allocations: 141.8 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9241, allocations: 0 / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.416e-06/0.9241, allocations: 0 / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.9241, allocations: 1.156 kB / 1.043 GB, free: 56.73 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.0005047/0.9246, allocations: 412.6 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.9247, allocations: 9.094 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.9247, allocations: 8.219 kB / 1.044 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.555e-05/0.9248, allocations: 173.7 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.9249, allocations: 11.81 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.9249, allocations: 9.094 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.925, allocations: 47.66 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.9251, allocations: 0.75 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.9251, allocations: 12.72 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.9251, allocations: 0 / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.868e-05/0.9251, allocations: 11.19 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.9256, allocations: 347.5 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.813e-05/0.9257, allocations: 38.28 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.9258, allocations: 18.64 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.9258, allocations: 0 / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.926, allocations: 88.27 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.926, allocations: 2.344 kB / 1.044 GB, free: 55.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002339/0.9262, allocations: 107.5 kB / 1.045 GB, free: 55.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.9263, allocations: 61.31 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.9263, allocations: 119 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.9264, allocations: 29.33 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.9264, allocations: 96.7 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.9264, allocations: 11.8 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.9265, allocations: 9.688 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.9265, allocations: 321.6 kB / 1.045 GB, free: 54.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.9267, allocations: 58.78 kB / 1.045 GB, free: 54.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.9268, allocations: 98.64 kB / 1.045 GB, free: 54.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.927, allocations: 154.5 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.927, allocations: 1.625 kB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004042/0.9274, allocations: 256.5 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.9275, allocations: 74.09 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9275, allocations: 11.38 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.9275, allocations: 2.125 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.574e-05/0.9276, allocations: 4.766 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.9276, allocations: 0 / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.928, allocations: 81.66 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.928, allocations: 15.12 kB / 1.046 GB, free: 54.48 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,and1.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.582e-05/0.9281, allocations: 122.7 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.9282, allocations: 10.09 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.9282, allocations: 10.3 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.9282, allocations: 0 / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9282, allocations: 1.469 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.9282, allocations: 3.938 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.9284, allocations: 178 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9284, allocations: 1.25 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.16e-05/0.9284, allocations: 3.891 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.9284, allocations: 0 / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.9284, allocations: 3.344 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.9284, allocations: 0 / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.9284, allocations: 0 / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.9286, allocations: 113.3 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.9286, allocations: 87.78 kB / 1.046 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.9287, allocations: 0 / 1.046 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.785e-05/0.9287, allocations: 4.031 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.9287, allocations: 16.19 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.9288, allocations: 3.531 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.9288, allocations: 93.03 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9288, allocations: 4 kB / 1.047 GB, free: 53.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002333/0.9291, allocations: 24.91 kB / 1.047 GB, free: 53.86 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,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.0002006/0.9293, allocations: 115.1 kB / 1.047 GB, free: 53.77 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003779/0.9296, allocations: 246.1 kB / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.9297, allocations: 0 / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.018e-05/0.9297, allocations: 21.88 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.93, allocations: 17.89 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.9303, allocations: 174.6 kB / 1.047 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.9305, allocations: 0.6864 MB / 1.048 GB, free: 52.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.9306, allocations: 11.81 kB / 1.048 GB, free: 52.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.293e-05/0.9306, allocations: 10.84 kB / 1.048 GB, free: 52.73 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9306, allocations: 0 / 1.048 GB, free: 52.73 MB / 0.698 GB Notification: Performance of Templates: time 0.004442/0.9351, allocations: 1.748 MB / 1.05 GB, free: 52.57 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1)